public override TypeDefinitionBase TypeOfTypeParameter(SD_Type_Parameter tp) { var fromReferencedSymbol = referencedSymbol.TypeOfTypeParameter(tp); var asTypeParameter = fromReferencedSymbol as SD_Type_Parameter; if (asTypeParameter != null) { return(base.TypeOfTypeParameter(tp)); } else { return(fromReferencedSymbol); } }
public override TypeDefinitionBase SubstituteTypeParameters(SymbolDefinition context) { return(context.TypeOfTypeParameter(this)); }