1 write to FileSystem
Microsoft.CodeAnalysis (1)
CommandLine\CommonCompiler.cs (1)
140
this.
FileSystem
= fileSystem ?? StandardFileSystem.Instance;
7 references to FileSystem
Microsoft.CodeAnalysis (7)
CommandLine\CommonCompiler.CompilerEmitStreamProvider.cs (1)
112
return _streamToDispose = _compiler.
FileSystem
.OpenFile(_filePath, FileMode.Create, FileAccess.ReadWrite, FileShare.None);
CommandLine\CommonCompiler.cs (6)
213
var peStream =
FileSystem
.OpenFileWithNormalizedException(path, FileMode.Open, FileAccess.Read, FileShare.Read);
220
var pathResolver = new CompilerRelativePathResolver(
FileSystem
, Arguments.ReferencePaths, Arguments.BaseDirectory!);
389
=>
FileSystem
.OpenFileEx(
1267
EmitDeterminismKey(compilation,
FileSystem
, additionalTextFiles, analyzers, generators, Arguments.PathMap, emitOptions);
1374
using (var win32ResourceStreamOpt = GetWin32Resources(
FileSystem
, MessageProvider, Arguments, compilation, diagnostics))
1629
return
FileSystem
.OpenFile(filePath, mode, access, share);