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); }
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); }