Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git] / mcs / errors / cs1503-6.cs
blob4f6d0ad60bfacb7ab47854f0a4e736272c7d6d78
1 // CS1503: Argument `#1' cannot convert `object' expression to type `int'
2 // Line: 16
4 using System;
6 class T
8 public void M1 (int i, params object[] args) {}
11 class MainClass
13 static void Main ()
15 T t = new T ();
16 t.M1 (new object ());