System.Reflection.Emit.ModuleBuilder.GetArrayMethod C# (CSharp) Method

GetArrayMethod() public method

public GetArrayMethod ( System arrayClass, string methodName, System callingConvention, System returnType, System parameterTypes ) : System.Reflection.MethodInfo
arrayClass System
methodName string
callingConvention System
returnType System
parameterTypes System
return System.Reflection.MethodInfo
        public System.Reflection.MethodInfo GetArrayMethod(System.Type arrayClass, string methodName, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] parameterTypes) { throw null; }
        public override int GetHashCode() { throw null; }

Usage Example

 private void VerificationHelper(ModuleBuilder module, Type arrayClass, string methodName, CallingConventions convention, Type returnType, Type[] parameterTypes, Type desiredException)
 {
     Assert.Throws(desiredException, () => { MethodInfo method = module.GetArrayMethod(arrayClass, methodName, convention, returnType, parameterTypes); });
 }
All Usage Examples Of System.Reflection.Emit.ModuleBuilder::GetArrayMethod