summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1510-4.cs
blob: d7cc3b061d6c7f10bb77c2c96fbfd64b5347ff25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS1510: A ref or out argument must be an assignable variable
// Line: 13

class M
{
	static void Test (ref byte b)
	{
	}
	
	public static void Main ()
	{
		byte b = 1;
		Test (ref (byte) b);
	}
}