3 references to CreateDiagnostic
Roslyn.Diagnostics.Analyzers (3)
DiagnosticExtensions.cs (1)
37
=> syntaxReferences.Select(s => s.GetSyntax(cancellationToken).GetLocation()).
CreateDiagnostic
(rule, properties, args);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\DiagnosticExtensions.cs (2)
92
return symbol.Locations.
CreateDiagnostic
(rule, properties, args);
137
return locations.
CreateDiagnostic
(rule, null, args);