src/sys/dotnet/fan/sys/GenericType.cs
/// <summary>
/// Parameterize t, where t is a generic parameter type such as V.
/// </summary>
Parameterize t, where t is a generic parameter type such as V.
Parameterize t where t is a generic parameter type such as V .
internal Type parameterize(Type t)
    {
      bool nullable = t.isNullable();
      Type nn = t.toNonNullable();
      if (nn is ListType)
        t = parameterizeListType((ListType)nn);
      else if (nn is FuncType)
        t = parameterizeFuncType((FuncType)nn);
      else
        t = doParameterize(nn);
      return nullable ? t.toNullable() : t;
    }
internal Type parameterize ( Type t ) { bool nullable = t . isNullable ( ) ; Type nn = t . toNonNullable ( ) ; if ( nn is ListType ) t = parameterizeListType ( ( ListType ) nn ) ; else if ( nn is FuncType ) t = parameterizeFuncType ( ( FuncType ) nn ) ; else t = doParameterize ( nn ) ; return nullable ? t . toNullable ( ) : t ; }
Parameterize t, where t is a generic parameter type such as V.
Parameterize t where t is a generic parameter type such as V .
t
Type