4 instantiations of new
ILAssembler (4)
DocumentCompiler.cs (1)
42diagnostics.Add(new Diagnostic("Preprocessor", DiagnosticSeverity.Error, msg, new Location(new(start, length), loadedDocuments[source])));
GrammarVisitor.cs (2)
699? new Location(new SourceSpan(0, 0), firstDoc) 700: new Location(new SourceSpan(0, 0), new SourceText(string.Empty, keyFilePath));
Location.cs (1)
13SourceSpan span = new(token.StartIndex, token.StopIndex - token.StartIndex + 1);
2 references to new
ILAssembler (2)
Location.cs (2)
9public record Location(SourceSpan Span, SourceText Source) 13SourceSpan span = new(token.StartIndex, token.StopIndex - token.StartIndex + 1);