public __MakeGenericType ( Type typeArguments, Type requiredCustomModifiers, Type optionalCustomModifiers ) : Type | ||
typeArguments | Type | |
requiredCustomModifiers | Type | |
optionalCustomModifiers | Type | |
리턴 | Type |
public Type __MakeGenericType(Type[] typeArguments, Type[][] requiredCustomModifiers, Type[][] optionalCustomModifiers)
{
if (!this.IsGenericTypeDefinition)
{
throw new InvalidOperationException();
}
return GenericTypeInstance.Make(this, Util.Copy(typeArguments), Util.Copy(requiredCustomModifiers), Util.Copy(optionalCustomModifiers));
}