dotnet/roslyn
CodeLens does not invalidate for changes in downstream projects
Ouverte
#49 775 ouverte le 3 déc. 2020
Area-IDEBugCodeLenshelp wanted
Métriques du dépôt
- Stars
- (20 414 étoiles)
- Métriques de merge PR
- (Merge moyen 6j 17h) (256 PRs mergées en 30 j)
Description
Version Used: e9fd4dc7
Steps to Reproduce:
-
Create project A:
public static class First { public static void Method() { } } -
Create project B, which references project A:
public class Second { public void Method() { First.Method(); } } -
Observe the CodeLens reference count on
First.Method -
Comment out
Second.Method -
Observe the CodeLens reference count on
First.Method
Expected Behavior:
- At step (3), the reference count is 1
- At step (5), the reference count is 0
Actual Behavior:
- ✔ At step (3), the reference count is 1
- ❌ At step (5), the reference count is 1
Additional Details:
The change in step (4) does not update the project version which is used here for data point invalidation: