3 references to GetLocation
Microsoft.CodeAnalysis.Features (3)
src\Analyzers\Core\Analyzers\FileHeaders\AbstractFileHeaderDiagnosticAnalyzer.cs (3)
64
if (!context.ShouldAnalyzeSpan(fileHeader.
GetLocation
(tree).SourceSpan))
71
context.ReportDiagnostic(Diagnostic.Create(s_missingHeaderDescriptor, fileHeader.
GetLocation
(tree)));
78
context.ReportDiagnostic(Diagnostic.Create(s_invalidHeaderDescriptor, fileHeader.
GetLocation
(tree)));