Open hankovich opened 2 years ago
I'm not sure if there is any useful location this can go to. Would you want it to go to ValueTuple<T1, T2>.Item1?
I think at least it should not point to an unexisting location. Item1
feels like a good alternative.
Should it go to the type of Item1 instead? Would be more useful I think.
This is roughly the place that is looking at the current identifier, sees it's a reference to a symbol, sees the symbol is a field and does the processing: https://github.com/KirillOsenkov/SourceBrowser/blob/2b57a3d551d02c05b90d006f48cfa07c0a7e5cd2/src/HtmlGenerator/Pass1-Generation/DocumentGenerator.References.cs#L335
I think roughly in this area we could add some could that would detect that we're looking at a value tuple field, get its type, and create a hyperlink to that type.
This page, for example
Clicking on
.Connection;
redirects to this page, which saysDon't use this page directly, pass #symbolId to get redirected.
.I've tried a couple of
ValueTuple
s with different arity, all of them don't work.@alexperovich