# Sandbox.Internal.TypeLibrary.GetMethodsWithAttribute

```csharp
IReadOnlyList<System.ValueTuple<MethodDescription,T>> GetMethodsWithAttribute(bool onlyStatic = True)
```

Find all methods with given attribute, optionally non static

### Parameters

- `onlyStatic` (`bool`), default `True`

### Returns

`IReadOnlyList<System.ValueTuple<MethodDescription,T>>`

Declared in [Sandbox.Internal.TypeLibrary](/api/Sandbox.Internal.TypeLibrary).
Assembly: `Sandbox.Reflection`.
