# Sandbox.CodeGenerator.SourceFile.SourceFile

```csharp
SourceFile(string Path, string Text, string SourcePath)
```

One file in the complete generated C# source set.

### Parameters

- `Path` (`string`): The logical output path.
- `Text` (`string`): The generated source, including source line mappings.
- `SourcePath` (`string`): The originating input path, or null for shared generated code.

Declared in [Sandbox.CodeGenerator.SourceFile](/api/Sandbox.CodeGenerator.SourceFile).
Assembly: `Sandbox.Compiling`.
