Fix StyleCop rule SA1129 ("Do not use default value type constructor") (dotnet/corecl...
authorStephen Toub <stoub@microsoft.com>
Mon, 11 Nov 2019 23:49:48 +0000 (18:49 -0500)
committerAaron Robinson <arobins@microsoft.com>
Tue, 12 Nov 2019 03:43:49 +0000 (22:43 -0500)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/24aa9ed911fdab705f1337f233afa5985998f761

src/libraries/System.Private.CoreLib/src/CodeAnalysis.ruleset

index cca9644..646deab 100644 (file)
     <Rule Id="SA1125" Action="None" /> <!-- Use shorthand for nullable types -->
     <Rule Id="SA1127" Action="None" /> <!-- Generic type constraints should be on their own line -->
     <Rule Id="SA1128" Action="None" /> <!-- Put constructor initializers on their own line -->
-    <Rule Id="SA1129" Action="None" /> <!-- Do not use default value type constructor -->
     <Rule Id="SA1130" Action="None" /> <!-- Use lambda syntax -->
     <Rule Id="SA1131" Action="None" /> <!-- Constant values should appear on the right-hand side of comparisons -->
     <Rule Id="SA1132" Action="None" /> <!-- Do not combine fields -->