| Topic | Value |
|---|---|
| Id | REFL024 |
| Severity | Warning |
| Enabled | True |
| Category | ReflectionAnalyzers.SystemReflection |
| Code | InvokeAnalyzer |
Prefer null over empty array.
ADD MOTIVATION HERE
ADD HOW TO FIX VIOLATIONS HERE
Configure the severity per project, for more info see MSDN.
#pragma warning disable REFL024 // Prefer null over empty array
Code violating the rule here
#pragma warning restore REFL024 // Prefer null over empty arrayOr put this at the top of the file to disable all instances.
#pragma warning disable REFL024 // Prefer null over empty array[System.Diagnostics.CodeAnalysis.SuppressMessage("ReflectionAnalyzers.SystemReflection",
"REFL024:Prefer null over empty array",
Justification = "Reason...")]