public SourceFileSpan(SourceFile file, TextSpan span)
 {
     File = file ?? throw new ArgumentNullException(nameof(file));
     Span = span;
 }
Example #2
0
 internal SourceFile(SourceText text, SourceFile includedBy)
 {
     Text       = text ?? throw new ArgumentNullException(nameof(text));
     IncludedBy = includedBy;
 }