| Topic | Value |
|---|---|
| Id | REFL031 |
| Severity | Warning |
| Enabled | True |
| Category | ReflectionAnalyzers.SystemReflection |
| Code | MakeGenericAnalyzer |
Use generic arguments that satisfies the type parameters.
ADD MOTIVATION HERE
ADD HOW TO FIX VIOLATIONS HERE
Configure the severity per project, for more info see MSDN.
#pragma warning disable REFL031 // Use generic arguments that satisfies the type parameters
Code violating the rule here
#pragma warning restore REFL031 // Use generic arguments that satisfies the type parametersOr put this at the top of the file to disable all instances.
#pragma warning disable REFL031 // Use generic arguments that satisfies the type parameters[System.Diagnostics.CodeAnalysis.SuppressMessage("ReflectionAnalyzers.SystemReflection",
"REFL031:Use generic arguments that satisfies the type parameters",
Justification = "Reason...")]