# Sandbox.Internal.TypeLibrary.GetGenericArguments

```csharp
System.Type[] GetGenericArguments(System.Type genericType)
```

Performs `M:System.Type.GetGenericArguments` with access control checks.
Will throw if any arguments aren't in the whitelist.

### Parameters

- `genericType` (`System.Type`): Constructed generic type to get the arguments of

### Returns

`System.Type[]`

Declared in [Sandbox.Internal.TypeLibrary](/api/Sandbox.Internal.TypeLibrary).
Assembly: `Sandbox.Reflection`.
