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