dotnet/roslyn
Find All References does not count usages from the Implicit Range support
オープン
#41,310 opened on 2020/01/30
Area-CompilersBlockedConcept-Continuous ImprovementFeature - RangeIDE-Navigationhelp wanted
Repository metrics
- Stars
- (20,414 個のスター)
- PR merge metrics
- (平均マージ 6d 17h) (30d で 256 merged PRs)
説明
Version Used: 16.4.3
Steps to Reproduce:
public class T
{
public int Length => 42;
public int Slice(int start, int length) => start + length;
public static void M()
{
var t = new T();
var o = t[0..^1];
}
}
Run Find All References on Length or Slice or look at CodeLense
Expected Behavior:
Both Length and Slice should have one reference from using the implicit range in M().
Actual Behavior: The implicit usage is not reported.
