update readme (#21797)
[mono-project.git] / mcs / errors / cs8327.cs
blob8d0ccd86a70ad5761228193f44212628bf443eda
1 // CS8327: The ref conditional expression types `int' and `byte' have to match
2 // Line: 12
4 class Program
6 static int x;
7 static byte y;
9 public static void Main ()
11 bool b = false;
12 ref int targetBucket = ref b ? ref x : ref y;