1 write to _filePath
Microsoft.CodeAnalysis (1)
CommandLine\CommonCompiler.CompilerEmitStreamProvider.cs (1)
32
_filePath
= filePath;
8 references to _filePath
Microsoft.CodeAnalysis (8)
CommandLine\CommonCompiler.CompilerEmitStreamProvider.cs (8)
44
var diagnosticInfo = new DiagnosticInfo(messageProvider, messageProvider.ERR_OutputWriteFailed,
_filePath
, e.Message);
76
File.Delete(
_filePath
);
81
var newFilePath = Path.Combine(Path.GetDirectoryName(
_filePath
)!, Guid.NewGuid().ToString() + "_" + Path.GetFileName(
_filePath
));
84
File.Move(
_filePath
, newFilePath);
112
return _streamToDispose = _compiler.FileSystem.OpenFile(
_filePath
, FileMode.Create, FileAccess.ReadWrite, FileShare.None);
118
var lockedBy = FileLockCheck.TryGetLockingProcessInfos(
_filePath
);
129
diagnostics.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_CantOpenFileWrite, Location.None,
_filePath
, message));