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)
43var diagnosticInfo = new DiagnosticInfo(messageProvider, messageProvider.ERR_OutputWriteFailed, _filePath, e.Message); 77File.Delete(_filePath); 82var newFilePath = Path.Combine(Path.GetDirectoryName(_filePath)!, Guid.NewGuid().ToString() + "_" + Path.GetFileName(_filePath)); 85File.Move(_filePath, newFilePath); 113return _streamToDispose = _compiler.FileSystem.OpenFile(_filePath, FileMode.Create, FileAccess.ReadWrite, FileShare.None); 119diagnostics.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_CantOpenFileWrite, Location.None, _filePath, e.Message));