Have inheritance-margin hold onto data that does *not* point back at Solution instances.#55696
Conversation
src/EditorFeatures/Test/InheritanceMargin/InheritanceMarginTests.cs
Outdated
Show resolved
Hide resolved
|
@sharwell @JoeRobich can you ptal? tahnks! |
src/Features/Core/Portable/FindUsages/DefinitionItem.DetachedDefinitionItem.cs
Show resolved
Hide resolved
src/Features/Core/Portable/FindUsages/DefinitionItem.DetachedDefinitionItem.cs
Show resolved
Hide resolved
JoeRobich
left a comment
There was a problem hiding this comment.
I could see there being tests around the Detach()/ReHydrate(), if only because of the omission we caught.
@Cosifne do we have integration tests for inheritance margin? if not, can we file an issue to add them asap? |
There are only unit tests in for inheritance Margin. |
Thanks. It's always good to have at least one integration test to totally validate the end to end, (esp. with custom UI). |
...VisualStudio/Core/Def/Implementation/InheritanceMargin/MarginGlyph/InheritanceMargin.xaml.cs
Outdated
Show resolved
Hide resolved
| CancellationToken cancellationToken) | ||
| { | ||
| if (definitions.IsDefaultOrEmpty) | ||
| return false; |
There was a problem hiding this comment.
this moved inside TryNavigateToOrPresentItemsAsync
|
@CyrusNajmabadi it looks like there's some merge commits in here that are likely bringing in code that was not originally reviewed (as it's now requesting compiler reviews), so I disabled automerge so you can make sure everything is kosher. |
Fixes AB#1371724