dotnet/roslyn
Find All References does not count usages from the Implicit Range support
开放
#41,310 创建于 2020年1月30日
Area-CompilersBlockedConcept-Continuous ImprovementFeature - RangeIDE-Navigationhelp wanted
仓库指标
- 星标
- (20,414 个星标)
- PR 合并指标
- (平均合并 6天 17小时) (30 天内合并 256 个 PR)
描述
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.
