dotnet/roslyn
Find All References does not count usages from the Implicit Range support
Aberta
#41.310 aberto em 30 de jan. de 2020
Area-CompilersBlockedConcept-Continuous ImprovementFeature - RangeIDE-Navigationhelp wanted
Métricas do repositório
- Stars
- (20.414 estrelas)
- Métricas de merge de PR
- (Mesclagem média 6d 17h) (256 fundiu PRs em 30d)
Description
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.
