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