diff --git a/.editorconfig b/.editorconfig index 99c82a0c47f..5c3c8c1395a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -415,6 +415,12 @@ dotnet_diagnostic.IDE0301.severity = suggestion dotnet_diagnostic.IDE0305.severity = suggestion dotnet_diagnostic.IDE0306.severity = suggestion +# Remove unnecessary nullable warning suppression +dotnet_diagnostic.IDE0370.severity = suggestion + +# Remove unnecessary 'unsafe' modifier +dotnet_diagnostic.IDE0380.severity = suggestion + # Temporarily disable SA1010 "Opening square brackets should not be preceded by a space" until https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3687 is fixed dotnet_diagnostic.SA1010.severity = none @@ -431,6 +437,9 @@ dotnet_diagnostic.IDE0330.severity = suggestion # Use implicitly typed lambda dotnet_diagnostic.IDE0350.severity = none +#Nullable suppression is unnecessary (not when multi-targeting to net472): https://github.com/dotnet/msbuild/issues/12726 +dotnet_diagnostic.IDE0370.severity = none + # Value types are incompatible with null values. https://xunit.net/xunit.analyzers/rules/xUnit1012 dotnet_diagnostic.xUnit1012.severity = warning diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 15f005a601d..ad80893674d 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,6 +1,6 @@ - +