roslyn
roslyn copied to clipboard
"Go To Implementation" doesn't find all implementations
Version Used:
Microsoft Visual Studio Enterprise 2022 (64-bit) - Int Preview Version 17.5.0 Preview 3.0 [33206.467.main]
Steps to Reproduce:
In Roslyn solution
- Go to the definition of abstract property
Microsoft.CodeAnalysis.CSharp.Syntax.BaseExpressionColonSyntax.Expression
in Syntax.xml.Syntax.Generated.cs - Right click and select "Go To Implementation"
Expected Behavior:
Two implementations found, in ExpressionColonSyntax
and in NameColonSyntax
types.
Actual Behavior:
Only implementation in ExpressionColonSyntax
is found.
I am not sure if the fact that implementation in NameColonSyntax
type is not in a generated file makes any difference for the scenario.
@jasonmalinowski I don't even see this command offered in that file:
Something broken with SG files?
Turn this back on:
(this is the feature flag we're flipping back, so by the time you investigate this it might be back on)