dotnet/roslyn
Find All References does not count usages from the Implicit Range support
Aperta
#41.310 aperta il 30 gen 2020
Area-CompilersBlockedConcept-Continuous ImprovementFeature - RangeIDE-Navigationhelp wanted
Metriche repository
- Star
- (20.414 stelle)
- Metriche merge PR
- (Merge medio 6g 17h) (256 PR mergiate in 30 g)
Descrizione
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.
