KirillOsenkov / SourceBrowser

Source browser website generator that powers http://referencesource.microsoft.com and http://sourceroslyn.io
Apache License 2.0
1.08k stars 197 forks source link

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

Closed hankovich closed 2 years ago

hankovich commented 2 years ago

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 commented 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.

hankovich commented 2 years ago

Wow, that's interesting. Thanks!

KirillOsenkov commented 2 years ago

I didn't know that either :) TIL!