src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Add a generic type to this method
/// </summary>
/// <param name="name">the name of the generic type</param>
/// <returns>the descriptor for the generic type</returns>
Add a generic type to this method
Add a generic type to this method
public GenericParam AddGenericParam(string name) {
            if (genericParams == null) genericParams = new ArrayList();
            GenericParam gp = new GenericParam(name,this,genericParams.Count);
            sig.callConv |= CallConv.Generic;
            genericParams.Add(gp);
            sig.numGenPars = (uint)genericParams.Count;
            return gp;
        }
public GenericParam AddGenericParam ( string name ) { if ( genericParams == null ) genericParams = new ArrayList ( ) ; GenericParam gp = new GenericParam ( name , this , genericParams . Count ) ; sig . callConv |= CallConv . Generic ; genericParams . Add ( gp ) ; sig . numGenPars = ( uint ) genericParams . Count ; return gp ; }
Add a generic type to this method
Add a generic type to this method
the descriptor for the generic type
the descriptor for the generic type
name
string
the name of the generic type
the name of the generic type