1 write to _filePath
Microsoft.CodeAnalysis (1)
CommandLine\CommonCompiler.CompilerEmitStreamProvider.cs (1)
31
_filePath
= filePath;
7 references to _filePath
Microsoft.CodeAnalysis (7)
CommandLine\CommonCompiler.CompilerEmitStreamProvider.cs (7)
43
var diagnosticInfo = new DiagnosticInfo(messageProvider, messageProvider.ERR_OutputWriteFailed,
_filePath
, e.Message);
77
File.Delete(
_filePath
);
82
var newFilePath = Path.Combine(Path.GetDirectoryName(
_filePath
)!, Guid.NewGuid().ToString() + "_" + Path.GetFileName(
_filePath
));
85
File.Move(
_filePath
, newFilePath);
113
return _streamToDispose = _compiler.FileSystem.OpenFile(
_filePath
, FileMode.Create, FileAccess.ReadWrite, FileShare.None);
119
diagnostics.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_CantOpenFileWrite, Location.None,
_filePath
, e.Message));