Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-467117: Find usages for deconstructors doesn't work across file boundary.

$
0
0
Reporter Alexander Ulitin (alexander.ulitin) Alexander Ulitin (alexander.ulitin)
Created Nov 20, 2017 7:42:24 PM
Updated Apr 18, 2018 6:51:12 PM
Subsystem Navigation - Search (Find Usages)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Submitted
Type Bug
Fix version 2017.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
File 1
  class Program
{
static void Main(string[] args)
{
var dictionary = new Dictionary<string, string>();
foreach (var (key, value) in dictionary)
{
}
}
}
File 2
  public static class KeyValuePairExtensions
{
public static void Deconstruct<TKey, TValue>(
this KeyValuePair<TKey, TValue> pair,
out TKey key, out TValue value)
{
key = pair.Key;
value = pair.Value;
}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>