BaseFileSystem FileSystem { get; set; }

robot_2Generated
code_blocksInput

Description

The FileSystem property of the Compiler class provides access to an aggregate of all the file systems associated with the compiler. This property is essential for managing and interacting with the file systems that the compiler uses to read and write files during the compilation process.

Usage

To access the FileSystem property, you need to have an instance of the Compiler class. Once you have the instance, you can use the FileSystem property to interact with the file systems.

Example

// Assuming 'compiler' is an instance of Sandbox.Compiler
BaseFileSystem fileSystem = compiler.FileSystem;

// Use the fileSystem to perform file operations
// Example: Check if a file exists
bool fileExists = fileSystem.FileExists("path/to/file.cs");