src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Get the descriptor for the method called "name" with the signature "parTypes"
/// </summary>
/// <param name="name">The name of the method</param>
/// <param name="parTypes">The signature of the method</param>
/// <returns>The method descriptor for name(parTypes)</returns>
Get the descriptor for the method called "name" with the signature "parTypes"
Get the descriptor for the method called " name " with the signature " parTypes "
public Method GetMethodDesc(string name, Type[] parTypes) {
            for (int i=0; i < methods.Count; i++) {
                if (((Method)methods[i]).HasNameAndSig(name,parTypes))
                    return (Method)methods[i];
            }
            return null;
        }
public Method GetMethodDesc ( string name , Type [ ] parTypes ) { for ( int i = 0 ; i < methods . Count ; i ++ ) { if ( ( ( Method ) methods [ i ] ) . HasNameAndSig ( name , parTypes ) ) return ( Method ) methods [ i ] ; } return null ; }
Get the descriptor for the method called "name" with the signature "parTypes"
Get the descriptor for the method called " name " with the signature " parTypes "
The method descriptor for name(parTypes)
The method descriptor for name ( parTypes )
name
string
The name of the method
The name of the method
parTypes
Type[]
The signature of the method
The signature of the method