Topic | Value |
---|---|
Id | GU0075 |
Severity | Hidden |
Enabled | True |
Category | Gu.Analyzers.Correctness |
Code | ParameterAnalyzer |
Prefer return nullable Nicer for pattern matching.
ADD MOTIVATION HERE
ADD HOW TO FIX VIOLATIONS HERE
Configure the severity per project, for more info see MSDN.
#pragma warning disable GU0075 // Prefer return nullable
Code violating the rule here
#pragma warning restore GU0075 // Prefer return nullable
Or put this at the top of the file to disable all instances.
#pragma warning disable GU0075 // Prefer return nullable
[System.Diagnostics.CodeAnalysis.SuppressMessage("Gu.Analyzers.Correctness",
"GU0075:Prefer return nullable",
Justification = "Reason...")]