public IType GetNullableUnderlyingType(IType type) { var et = type as ExternalType; return Map(Nullable.GetUnderlyingType(et.ActualType)); }