Closed hankovich closed 2 years ago
It is discoverable, just the name is unexpected due to how roslyn names tuples. https://source.dot.net/#q=%28T1%2C%20T2%29
You have to search for (T1, T2) syntax.
Wow, that's interesting. Thanks!
I didn't know that either :) TIL!
Searching for
tuple
(https://source.dot.net/#q=tuple) shows allTuple
types fromTuple
toTuple<T1, T2, T3, T4, T5, T6, T7, TRest>
while searching forvaluetuple
(https://source.dot.net/#q=valuetuple) shows onlyValueTuple
,ValueTuple<T1>
andValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>
.ValueTuple<T1, T2>
seems to be not discoverable at all. Probably related to #221@alexperovich