3 writes to SourceFile
dotnet (3)
Commands\Run\FileBasedAppSourceEditor.cs (3)
57SourceFile = sourceFile, 83SourceFile = SourceFile with { Text = SourceFile.Text.WithChanges([change]) }; 239SourceFile = SourceFile with { Text = SourceFile.Text.Replace(start: start, length: length, newText: string.Empty) };
8 references to SourceFile
dotnet (8)
Commands\Package\VirtualProjectPackageReflector.cs (1)
61editor.SourceFile.Save();
Commands\Run\FileBasedAppSourceEditor.cs (6)
37field = FileLevelDirectiveHelpers.FindDirectives(SourceFile, reportAllErrors: false, ErrorReporters.IgnoringReporter); 83SourceFile = SourceFile with { Text = SourceFile.Text.WithChanges([change]) }; 129var tokenizer = FileLevelDirectiveHelpers.CreateTokenizer(SourceFile.Text); 239SourceFile = SourceFile with { Text = SourceFile.Text.Replace(start: start, length: length, newText: string.Empty) };
Commands\Run\VirtualProjectBuildingCommand.cs (1)
1289return editor.SourceFile;