Exemplo n.º 1
0
        protected sealed override MethodSig <RoParameter> ComputeMethodSig()
        {
            int parameterCount          = _parameterTypes.Length;
            MethodSig <RoParameter> sig = new MethodSig <RoParameter>(parameterCount);

            sig[-1] = new RoThinMethodParameter(this, -1, _returnType);
            for (int position = 0; position < parameterCount; position++)
            {
                sig[position] = new RoThinMethodParameter(this, position, _parameterTypes[position]);
            }
            return(sig);
        }
Exemplo n.º 2
0
        protected sealed override MethodSig <RoParameter> ComputeMethodSig()
        {
            int parameterCount          = _parameterTypes.Length;
            MethodSig <RoParameter> sig = new MethodSig <RoParameter>(parameterCount);
            RoType returnType           = GetRoModule().Loader.GetCoreType(CoreType.Void);

            sig[-1] = new RoThinMethodParameter(this, -1, returnType);
            for (int position = 0; position < parameterCount; position++)
            {
                sig[position] = new RoThinMethodParameter(this, position, _parameterTypes[position]);
            }
            return(sig);
        }