-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Port reference highlighting tests #18585
Conversation
{ | ||
void M<T>({|reference:C|} c) where T : {|reference:C|} | ||
{ | ||
{|reference:C|} c = new {|reference:C|}(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to very the written reference versus reference stuff.
FeatureAttribute.ReferenceHighlighting)); | ||
|
||
AssertEx.SetEqual(spans["reference"], VisualStudio.Editor.GetTagSpans(ReferenceHighlightTag.TagId)); | ||
AssertEx.SetEqual(spans["definition"], VisualStudio.Editor.GetTagSpans(DefinitionHighlightTag.TagId)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The existing C# test verifies navigation via the next/prev reference command. We should preserve that.
{ | ||
} | ||
|
||
[Fact, Trait(Traits.Feature, Traits.Features.Classification)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Traits.Features.ReferenceHighlighting
?
Test failures look unrelated to this change. |
tag @dotnet/roslyn-ide for review