src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Add a method to this class
/// </summary>
/// <param name="name">method name</param>
/// <param name="genPars">generic parameters</param>
/// <param name="retType">return type</param>
/// <param name="pars">parameter types</param>
/// <param name="optPars">optional parameter types</param>
/// <returns>a descriptor for this method</returns>
Add a method to this class
Add a method to this class
public MethodRef AddVarArgMethod(string name, GenericParam[] genPars, Type retType, Type[] pars, Type[] optPars) {
            MethodRef meth = AddMethod(name,genPars,retType,pars);
            meth.MakeVarArgMethod(null,optPars);
            return meth;
        }
public MethodRef AddVarArgMethod ( string name , GenericParam [ ] genPars , Type retType , Type [ ] pars , Type [ ] optPars ) { MethodRef meth = AddMethod ( name , genPars , retType , pars ) ; meth . MakeVarArgMethod ( null , optPars ) ; return meth ; }
Add a method to this class
Add a method to this class
a descriptor for this method
a descriptor for this method
name
string
None
genPars
GenericParam[]
None
retType
Type
None
pars
Type[]
None
optPars
Type[]
optional parameter types
optional parameter types