PEAPI.ClassRef.AddMethod C# (CSharp) Method

AddMethod() public method

Add a method to this class
public AddMethod ( string name, Type retType, Type pars, int gen_param_count ) : MethodRef
name string method name
retType Type return type
pars Type parameter types
gen_param_count int num of generic parameters
return MethodRef
		public MethodRef AddMethod (string name, Type retType, Type[] pars, int gen_param_count) 
		{
			MethodRef meth = new MethodRef (this, name, retType, pars, false, null, gen_param_count);
			metaData.AddToTable(MDTable.MemberRef,meth);
			return meth;
		}

Same methods

ClassRef::AddMethod ( string name, Type retType, Type pars ) : MethodRef