2 references to AddDiagnosticWarning
Microsoft.AspNetCore.App.Analyzers (2)
Http\RequestDelegateReturnTypeAnalyzer.cs (2)
40
AddDiagnosticWarning
(context, methodReference.Syntax.GetLocation(), returnType);
73
AddDiagnosticWarning
(context, anonymousFunction.Syntax.GetLocation(), returnType);