2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs1503-2.cs
blob24fa1e666287f119b75f68289a6930c32858f410
1 // CS1503: Argument `#2' cannot convert `method group' expression to type `System.Collections.Generic.Comparer<int>'
2 // Line: 20
4 using System;
5 using System.Collections.Generic;
7 public class C
9 static void Foo<T>(T t, Comparer<T> tc)
13 static int Compare (int a, int b)
15 return -1;
18 public static void Main ()
20 Foo (1, Compare);