summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1605.cs
blob: 4e172cae63ce4a2f3f6fbe32c98890f070c11d7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS1605: Cannot pass `this' as a ref or out argument because it is read-only
// Line: 13

class X
{
	void Test (out X x)
	{
		x = null;
	}
	
	void Run ()
	{
		Test (out this);
	}
}