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