System.Reflection.Emit.MethodOnTypeBuilderInstantiation.MakeGenericMethod C# (CSharp) Method

MakeGenericMethod() public method

public MakeGenericMethod ( ) : MethodInfo
return System.Reflection.MethodInfo
        public override MethodInfo MakeGenericMethod(params Type[] typeArgs)
        {
            if (!IsGenericMethodDefinition)
                throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericMethodDefinition"));

            return MethodBuilderInstantiation.MakeGenericMethod(this, typeArgs);
        }