# DOTSCompilerPatchedMethodAttribute(string)

> Constructor for DOTSCompilerPatchedMethodAttribute.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public DOTSCompilerPatchedMethodAttribute(string targetMethodName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Original method to copy method body into.
