Ejemplo n.º 1
0
 private static TypeWithAnnotations SubstituteType(
     TypeMap typeMap,
     TypeWithAnnotations typeSymbol
     )
 {
     return(typeMap == null ? typeSymbol : typeSymbol.SubstituteType(typeMap));
 }
Ejemplo n.º 2
0
 internal TypeWithAnnotations SubstituteType(TypeWithAnnotations previous)
 {
     return(previous.SubstituteType(this));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Replaces references to underlying type with references to native integer type.
 /// </summary>
 internal TypeWithAnnotations SubstituteUnderlyingType(TypeWithAnnotations type) => type.SubstituteType(GetTypeMap());