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

RSRP-186967: Problems with 'Import type' availability quick fix

$
0
0
Reporter Olga Lukianova (olka) Olga Lukianova (olka)
Created Jul 23, 2010 6:58:26 PM
Updated Apr 7, 2018 12:13:42 PM
Resolved Apr 7, 2018 12:13:42 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharper Aria suggests me to import method. If I use it, it does nothing.

using System;
using System.Collections.Generic;

class O
{
private List<int> y;
Action<List<int>> x1 = (z) => y.Foo(z); // HERE
}

static class CX
{
static void Foo<T>(this List<T> x, List<T> y) { }

static void Main(List<int> y)
{
Action<List<int>> x1 = (z) => y.Foo(z);
Bar((z) => y.Foo(z));
}

static void Bar(Action<List<int>> xxx){}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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