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)
44diagnostics.Add(new Diagnostic("Preprocessor", DiagnosticSeverity.Error, msg, new Location(new(start, length), sourceText))); 48diagnostics.Add(new Diagnostic("Preprocessor", DiagnosticSeverity.Error, msg, new Location(new(start, length), new SourceText("", source))));
Location.cs (2)
27return new SourceSpan(0, 0); 35return new SourceSpan(start, length);
PseudoCustomAttributes.cs (1)
23private static readonly Location s_unknownLocation = new(new SourceSpan(0, 0), new SourceText("", ""));
4 references to SourceSpan
ILAssembler (4)
DocumentCompiler.cs (1)
113SourceSpan span = Location.GetSourceSpan(offendingSymbol);
Location.cs (2)
9public record Location(SourceSpan Span, SourceText Source) 23internal static SourceSpan GetSourceSpan(Antlr4.Runtime.IToken? token)
PreprocessedTokenSource.cs (1)
341SourceSpan span = Location.GetSourceSpan(token);