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)
44var diagnosticInfo = new DiagnosticInfo(messageProvider, messageProvider.ERR_OutputWriteFailed, _filePath, e.Message); 76File.Delete(_filePath); 81var newFilePath = Path.Combine(Path.GetDirectoryName(_filePath)!, Guid.NewGuid().ToString() + "_" + Path.GetFileName(_filePath)); 84File.Move(_filePath, newFilePath); 112return _streamToDispose = _compiler.FileSystem.OpenFile(_filePath, FileMode.Create, FileAccess.ReadWrite, FileShare.None); 118var lockedBy = FileLockCheck.TryGetLockingProcessInfos(_filePath); 129diagnostics.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_CantOpenFileWrite, Location.None, _filePath, message));