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