6 references to SourceLocation
Microsoft.CodeAnalysis (6)
Diagnostic\Location.cs (1)
165
return new
SourceLocation
(syntaxTree, textSpan);
Diagnostic\SourceLocation.cs (5)
27
:
this
(node.SyntaxTree, node.Span)
32
:
this
(token.SyntaxTree!, token.Span)
37
:
this
(nodeOrToken.SyntaxTree!, nodeOrToken.Span)
43
:
this
(trivia.SyntaxTree!, trivia.Span)
49
:
this
(syntaxRef.SyntaxTree, syntaxRef.Span)