[runtime] Fix a warning.
[mono.git] / mcs / class / corlib / ReferenceSources / TypeBuilderInstantiation.cs
1 namespace System.Reflection.Emit
2 {
3         abstract class TypeBuilderInstantiation : TypeInfo
4         {
5                 internal static Type MakeGenericType (Type type, Type[] typeArguments)
6                 {
7 #if FULL_AOT_RUNTIME
8                         throw new NotSupportedException ("User types are not supported under full aot");
9 #else
10                         return new MonoGenericClass (type, typeArguments);
11 #endif
12                 }
13         }
14 }