7 instantiations of SourceSpan
ILAssembler (7)
Actions\GrammarActions.Manifest.Assembly.cs (2)
188
? new Location(new
SourceSpan
(0, 0), firstDocument)
189
: new Location(new
SourceSpan
(0, 0), new SourceText(string.Empty, keyFilePath));
DocumentCompiler.cs (2)
44
diagnostics.Add(new Diagnostic("Preprocessor", DiagnosticSeverity.Error, msg, new Location(
new
(start, length), sourceText)));
48
diagnostics.Add(new Diagnostic("Preprocessor", DiagnosticSeverity.Error, msg, new Location(
new
(start, length), new SourceText("", source))));
Location.cs (2)
27
return new
SourceSpan
(0, 0);
35
return new
SourceSpan
(start, length);
PseudoCustomAttributes.cs (1)
23
private static readonly Location s_unknownLocation = new(new
SourceSpan
(0, 0), new SourceText("", ""));
4 references to SourceSpan
ILAssembler (4)
DocumentCompiler.cs (1)
113
SourceSpan
span = Location.GetSourceSpan(offendingSymbol);
Location.cs (2)
9
public record Location(
SourceSpan
Span, SourceText Source)
23
internal static
SourceSpan
GetSourceSpan(Antlr4.Runtime.IToken? token)
PreprocessedTokenSource.cs (1)
341
SourceSpan
span = Location.GetSourceSpan(token);