1 implementation of OpenFile
Microsoft.CodeAnalysis (1)
FileSystem\ICommonCompilerFileSystem.cs (1)
63
public Stream
OpenFile
(string filePath, FileMode mode, FileAccess access, FileShare share)
5 references to OpenFile
Microsoft.CodeAnalysis (5)
CommandLine\CommonCompiler.CompilerEmitStreamProvider.cs (1)
112
return _streamToDispose = _compiler.FileSystem.
OpenFile
(_filePath, FileMode.Create, FileAccess.ReadWrite, FileShare.None);
CommandLine\CommonCompiler.cs (3)
1629
return FileSystem.
OpenFile
(filePath, mode, access, share);
1704
return fileSystem.
OpenFile
(fullPath, FileMode.Open, FileAccess.Read, FileShare.Read);
1754
using var stream = fileSystem.
OpenFile
(filePath, FileMode.Create, FileAccess.ReadWrite, FileShare.None);
FileSystem\ICommonCompilerFileSystem.cs (1)
32
return fileSystem.
OpenFile
(filePath, fileMode, fileAccess, fileShare);