File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class YeSqlValidationResult : IEnumerable<string>
13
13
/// <summary>
14
14
/// Allows access to the errors collection.
15
15
/// </summary>
16
- private readonly List < string > _errors = new ( ) ;
16
+ private readonly List < string > _errors = [ ] ;
17
17
18
18
internal YeSqlValidationResult ( ) { }
19
19
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public partial class YeSqlLoader
16
16
/// <summary>
17
17
/// An instance of the <see cref="YeSqlValidationResult"/> class used to store errors associated with the loader.
18
18
/// </summary>
19
- private readonly YeSqlValidationResult _validationResult = new ( ) ;
19
+ private readonly YeSqlValidationResult _validationResult = [ ] ;
20
20
21
21
/// <summary>
22
22
/// Initializes a new instance of the <see cref="YeSqlLoader"/> class.
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public partial class YeSqlParser
33
33
/// <summary>
34
34
/// Gets the result of the validation performed on the SQL statements.
35
35
/// </summary>
36
- internal YeSqlValidationResult ValidationResult { get ; } = new ( ) ;
36
+ internal YeSqlValidationResult ValidationResult { get ; } = [ ] ;
37
37
38
38
/// <summary>
39
39
/// Initializes a new instance of the <see cref="YeSqlParser"/> class.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ internal class YeSqlDictionary : ISqlCollection
11
11
/// <summary>
12
12
/// A dictionary containing the SQL statements that have been parsed from the data source (e.g., a SQL file).
13
13
/// </summary>
14
- private readonly Dictionary < string , string > _sqlStatements = new ( ) ;
14
+ private readonly Dictionary < string , string > _sqlStatements = [ ] ;
15
15
16
16
/// <inheritdoc />
17
17
public string this [ string tagName ]
You can’t perform that action at this time.
0 commit comments