# Loop

> Provides intrinsics for controlling loop vectorization in Burst-compiled code.

## Definition

* **Type:** Class
* **Namespace:** [Unity.Burst.CompilerServices](/engine/6000.6/script-reference/unity/burst/compilerservices.md)
* **Assembly:** UnityEngine.BurstModule

```csharp
public static class Loop
```

## Static Methods

| Method                                                                                                          | Description                                                                                                               |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| [ExpectNotVectorized](/engine/6000.6/script-reference/unity/burst/compilerservices/loop/expectnotvectorized.md) | Must be called from inside a loop. Will cause a compiler error in Burst-compiled code if the loop is auto-vectorized.     |
| [ExpectVectorized](/engine/6000.6/script-reference/unity/burst/compilerservices/loop/expectvectorized.md)       | Must be called from inside a loop. Will cause a compiler error in Burst-compiled code if the loop is not auto-vectorized. |
