# Editor.ShaderUpgrade.CompileModule

```csharp
static string CompileModule(string path)
```

The module's stages, each compiled with the combinations `M:Borealis.Slang.PassCombinations.ToCheck(Borealis.Slang.PassModule,Borealis.Slang.StageKind,System.Int32,System.Action{System.String})`
gives (all of a few; else every pair of combos at every pair of values, so features that break only together are
found); the first error, after the stage and combination it's from, or null.

### Parameters

- `path` (`string`)

### Returns

`string`

Declared in [Editor.ShaderUpgrade](/api/Editor.ShaderUpgrade).
Assembly: `Sandbox.Tools`.
