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