4 references to ReportDiagnostic
Microsoft.CodeAnalysis.Test.Utilities (4)
Diagnostics\CommonDiagnosticAnalyzers.cs (4)
1335
blockStartContext.RegisterOperationBlockEndAction(c =>
ReportDiagnostic
(c.ReportDiagnostic, c.OwningSymbol.Locations[0]));
1344
ReportDiagnostic
(blockContext.ReportDiagnostic, blockContext.OwningSymbol.Locations[0]);
1353
ReportDiagnostic
(operationContext.ReportDiagnostic, operationContext.Operation.Syntax.GetLocation());
1365
ReportDiagnostic
(operationContext.ReportDiagnostic, operationContext.Operation.Syntax.GetLocation());