# CompilationMode

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

## Definition

* **Type:** Enum
* **Namespace:** [Unity.ProjectAuditor.Editor](/engine/7000.0/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/7000.0/script-reference/unity/projectauditor/editor/compilationmode/developmentplayer.md) | Development player              |
| [Editor](/engine/7000.0/script-reference/unity/projectauditor/editor/compilationmode/editor.md)                       | Editor assemblies               |
| [EditorPlayMode](/engine/7000.0/script-reference/unity/projectauditor/editor/compilationmode/editorplaymode.md)       | Editor assemblies for Play Mode |
| [Player](/engine/7000.0/script-reference/unity/projectauditor/editor/compilationmode/player.md)                       | Player (default)                |
