Esempio n. 1
0
 public static IReadOnlyCollection <ITypeSymbol> GetTupleElementTypes(this ITypeSymbol typeSymbol)
 {
     return(typeSymbol.DynamicGetProperty <IReadOnlyCollection <ITypeSymbol> >("TupleElementTypes"));
 }
Esempio n. 2
0
 public static IReadOnlyCollection <ITypeSymbol> GetTupleElementTypes(this ITypeSymbol typeSymbol)
 {
     Contract.Assert(typeSymbol.IsTupleType);
     return(typeSymbol.DynamicGetProperty <IReadOnlyCollection <ITypeSymbol> >("TupleElementTypes"));
 }