public override TypeDesc GetTypeDefinition() { TypeDesc result = this; TypeDesc parameterDef = this.ParameterType.GetTypeDefinition(); if (parameterDef != this.ParameterType) { result = parameterDef.MakeByRefType(); } return(result); }
public override TypeDesc InstantiateSignature(Instantiation typeInstantiation, Instantiation methodInstantiation) { TypeDesc instantiatedParameterType = this.ParameterType.InstantiateSignature(typeInstantiation, methodInstantiation); return(instantiatedParameterType.MakeByRefType()); }