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