summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1502.cs
blob: a19c9e544a6c5819ddc30be5f3f808730d019604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS1502: The best overloaded method match for `X.foo(ref int)' has some invalid arguments
// Line: 8
class X {
	public void foo (ref int blah) {}

	public void bar (ref int baz)
	{
		foo(out baz);
	}

	static void Main ()
	{
	}
}