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

MakeGenericMethod() public method

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

Same methods

MethodBuilderInstantiation::MakeGenericMethod ( MethodInfo method, Type inst ) : MethodInfo

Usage Example

Esempio n. 1
0
 public override MethodInfo MakeGenericMethod(params Type[] typeArgs)
 {
     if (!this.IsGenericMethodDefinition)
     {
         throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericMethodDefinition"));
     }
     return(MethodBuilderInstantiation.MakeGenericMethod((MethodInfo)this, typeArgs));
 }
All Usage Examples Of System.Reflection.Emit.MethodBuilderInstantiation::MakeGenericMethod