Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs1502.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cf646b59619aa5e67a86fe0b3adf7a5be37d42ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs1502.cs: The method has incorrect arguments, passing out to something expecting ref
// Line: 8
class X {
	public void foo (ref int blah) {}

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

	static void Main ()
	{
	}
}