Reporter | 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 ProgramFile 2
{
static void Main(string[] args)
{
var dictionary = new Dictionary<string, string>();
foreach (var (key, value) in dictionary)
{
}
}
}
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;
}
}