Skip to content

Commit 9263433

Browse files
committed
Fix .editorconfig error messages
1 parent b6fd7ba commit 9263433

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.editorconfig

+4-4
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ dotnet_diagnostic.RS0026.severity = none # RS0026: Do not add multiple public
242242
dotnet_diagnostic.CA1861.severity = none # CA1861: Avoid constant arrays as arguments
243243

244244
# Primary Constructors
245-
dotnet_diagnostic.CS9107.severity = error # CS9107: Parameter is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well. This warning indicates that your code may be allocated two copies of a primary constructor parameter. Because the parameter is passed to the base class, the base class likely uses it. Because the derived class accesses it, it may have a second copy of the same parameter. That extra storage may not be intended
246-
dotnet_diagnostic.CS9113.severity = error # CS9113: Parameter is not being used
247-
dotnet_diagnostic.CS9124.severity = error # CS9124: Use primary constructor
248-
dotnet_diagnostic.CS9179.severity = error # CS9179: Use primary constructor
245+
dotnet_diagnostic.CS9107.severity = error # CS9107: Parameter is captured into the state of the enclosing type and its value is also passed to the base constructor
246+
dotnet_diagnostic.CS9113.severity = error # CS9113: Your class never references the primary constructor
247+
dotnet_diagnostic.CS9124.severity = error # CS9124: Parameter is captured into the state of the enclosing type and its value is also used to initialize a field, property, or event
248+
dotnet_diagnostic.CS9179.severity = error # CS9179: Primary constructor parameter is shadowed by a member from base

0 commit comments

Comments
 (0)