Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

23 lines
357 B
C#

// CS1503: Argument `#2' cannot convert `method group' expression to type `System.Collections.Generic.Comparer<int>'
// Line: 20
using System;
using System.Collections.Generic;
public class C
{
static void Foo<T>(T t, Comparer<T> tc)
{
}
static int Compare (int a, int b)
{
return -1;
}
public static void Main ()
{
Foo (1, Compare);
}
}