2 writes to SourceFile
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (2)
121SourceFile = sourceFile, 157SourceFile = sourceFile,
16 references to SourceFile
Microsoft.CodeAnalysis.CSharp.Workspaces (16)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (13)
358/// Position of <see cref="DirectiveText"/> within <see cref="ParseInfo.SourceFile"/>'s text. 368=> ErrorReporter(Info.SourceFile.Text, Info.SourceFile.Path, Info.Span, message); 371=> ErrorReporter(Info.SourceFile.Text, Info.SourceFile.Path, span, message); 1063var sourcePath = Info.SourceFile.Path; 1093=> errorReporter(Info.SourceFile.Text, sourcePath, Info.Span, message); 1196var sourcePath = Info.SourceFile.Path; 1204errorReporter(Info.SourceFile.Text, sourcePath, Info.Span, 1300reportError(Info.SourceFile.Text, Info.SourceFile.Path, Info.Span, 1447reportError(directive.Info.SourceFile.Text, directive.Info.SourceFile.Path, directive.Info.Span,
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (3)
255var fullPath = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(includeOrExcludeDirective.Info.SourceFile.Path)!, expandedPath)); 597directive.Info.SourceFile.Text, 598directive.Info.SourceFile.Path,