Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2022-04-21 20:25:52 +0300
committerGitHub <noreply@github.com>2022-04-21 20:25:52 +0300
commit215b39abf947da7a40b0cb137eab4bceb24ad3e3 (patch)
tree03c4624a21fb8c404edae4ed70607bc2a7d3cde1 /eng/CodeAnalysis.test.globalconfig
parented04fef3b744ad179f4c570b873721d09534c017 (diff)
Remove usage of !! from dotnet/runtime (#68178)
* Remove usage of !! from dotnet/runtime - Use ArgumentNullException.ThrowIfNull instead where possible. It's only usable for projects that only target .NET 6+, and it can't be used in places like this(...) or base(...). - In other cases, if the project already has a ThrowHelper, augment it for null as needed and use that. - For most of the extensions projects, add a ThrowHelper.ThrowIfNull that replicates ArgumentNullException.ThrowIfNull. - For everything else, just use "throw new". * Address PR feedback * Address PR feedback * Remove false positives from searches * Address PR feedback
Diffstat (limited to 'eng/CodeAnalysis.test.globalconfig')
-rw-r--r--eng/CodeAnalysis.test.globalconfig3
1 files changed, 0 insertions, 3 deletions
diff --git a/eng/CodeAnalysis.test.globalconfig b/eng/CodeAnalysis.test.globalconfig
index 0b5cef6baa9..eff7ffaf9cc 100644
--- a/eng/CodeAnalysis.test.globalconfig
+++ b/eng/CodeAnalysis.test.globalconfig
@@ -1551,9 +1551,6 @@ dotnet_diagnostic.IDE0160.severity = silent
# IDE0161: Convert to file-scoped namespace
dotnet_diagnostic.IDE0161.severity = silent
-# IDE0190: Null check can be simplified
-dotnet_diagnostic.IDE0190.severity = silent
-
# IDE1005: Delegate invocation can be simplified.
dotnet_diagnostic.IDE1005.severity = silent