Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some of ValueTuple<> types are not discoverable [source.dot.net] #222

Closed
hankovich opened this issue Nov 8, 2022 · 3 comments
Closed

Some of ValueTuple<> types are not discoverable [source.dot.net] #222

hankovich opened this issue Nov 8, 2022 · 3 comments

Comments

@hankovich
Copy link

Searching for tuple (https://source.dot.net/#q=tuple) shows all Tuple types from Tuple to Tuple<T1, T2, T3, T4, T5, T6, T7, TRest> while searching for valuetuple (https://source.dot.net/#q=valuetuple) shows only ValueTuple, ValueTuple<T1> and ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>.

ValueTuple<T1, T2> seems to be not discoverable at all.
Probably related to #221

@alexperovich

@alexperovich
Copy link
Contributor

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.

@hankovich
Copy link
Author

Wow, that's interesting. Thanks!

@KirillOsenkov
Copy link
Owner

I didn't know that either :) TIL!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants