Skip to content

Commit

Permalink
Fixed ExtractMethod tests
Browse files Browse the repository at this point in the history
Some of them were failing due to the fact that explicit generic parameters are no longer needed in these cases.
  • Loading branch information
HellBrick committed Nov 8, 2015
1 parent c6c7add commit b5c4c9d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8145,7 +8145,7 @@ class A
{
static void Foo<T, S>(T x) where T : IList<S>
{
var y = GetY<T, S>(x);
var y = GetY(x);
}
private static int GetY<T, S>(T x) where T : IList<S>
Expand Down Expand Up @@ -8837,7 +8837,7 @@ class A
{
static void Foo<T, S, U>(T x) where T : IList<S> where S : IList<U>
{
var y = GetY<T, S>(x);
var y = GetY(x);
}
private static int GetY<T, S>(T x) where T : IList<S>
Expand Down Expand Up @@ -8882,7 +8882,7 @@ class A
{
static void Foo<T, S>(S x) where S : I<T> where T : IComparable<T>
{
var y = GetY<T, S>(x);
var y = GetY(x);
}
private static int GetY<T, S>(S x)
Expand Down Expand Up @@ -8930,7 +8930,7 @@ class A
{
static void Foo<T, S>(S x) where S : I<T> where T : class
{
var y = GetY<T, S>(x);
var y = GetY(x);
}
private static int GetY<T, S>(S x)
Expand Down Expand Up @@ -9001,7 +9001,7 @@ class B : A
{
public override void Foo<T, S>(S x)
{
var y = GetY<T, S>(x);
var y = GetY(x);
}
private static int GetY<T, S>(S x)
Expand Down

0 comments on commit b5c4c9d

Please sign in to comment.