retag
[mcs.git] / errors / cs1510-2.cs
blob99b7deb1d3361cbe4b4e8395f40a7c6b6b9d91c3
1 // cs1510-2.cs: A ref or out argument must be an assignable variable
2 // Line: 14
3 // this is bug #56016
5 using System;
7 class Test {
8 static void test(ref IConvertible i) {
11 static void Main() {
12 int i = 1;
14 test (ref (IConvertible) i);