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;
 }