# Sandbox.Internal.TypeLibrary.GetAttributes

## Overload 1

```csharp
IReadOnlyList<T> GetAttributes()
```

Get all attributes of this type

### Returns

`IReadOnlyList<T>`

## Overload 2

```csharp
IReadOnlyList<T> GetAttributes(System.Type t)
```

Get all attribute of type, from all types assignable to type

### Parameters

- `t` (`System.Type`)

### Returns

`IReadOnlyList<T>`

Declared in [Sandbox.Internal.TypeLibrary](/api/Sandbox.Internal.TypeLibrary).
Assembly: `Sandbox.Reflection`.
