# AllowUnsafeCode

> Allow 'unsafe' code when compiling scripts.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Compilation](/engine/6000.5/script-reference/unityeditor/compilation.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public bool AllowUnsafeCode { get; set; }
```
