Source/Analyzers/EventsHaveAnnotationAnalyzer.cs
Avoid too many return
statements within this method. Open
Open
if (typeInfo.Type is null) return;
Avoid too many return
statements within this method. Open
Open
if (typeInfo.Type.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat).Equals("object")) return;
Avoid too many return
statements within this method. Open
Open
if (typeInfo.Type.HasEventTypeAttribute()) return; // All good