# CompilationMode

> Options for the compilation mode Project Auditor should use when performing code analysis.

## Definition

* **Type:** Enum
* **Namespace:** [Unity.ProjectAuditor.Editor](/engine/6000.6/script-reference/unity/projectauditor/editor.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Removed.** Please use CodeAnalysisFlags instead

```csharp
public enum CompilationMode
```

## Remarks

Setting the compilation mode can affect how long analysis takes, which assemblies are analysed and whether certain scripting define symbols are considered.

## Fields

| Value                                                                                                                 | Description                      |
| --------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
| [DevelopmentPlayer](/engine/6000.6/script-reference/unity/projectauditor/editor/compilationmode/developmentplayer.md) | Development player               |
| [Editor](/engine/6000.6/script-reference/unity/projectauditor/editor/compilationmode/editor.md)                       | Editor assemblies                |
| [EditorPlayMode](/engine/6000.6/script-reference/unity/projectauditor/editor/compilationmode/editorplaymode.md)       | Editor assemblies for Play Mode  |
| [Player](/engine/6000.6/script-reference/unity/projectauditor/editor/compilationmode/player.md)                       | Non-Development player (default) |
