[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / errors / cs8047.cs
blobcd91a4fb3a760b6458a7356d8c485a99eb2c43eb
1 // CS8047: Declaration expression cannot be used in this context
2 // Line: 8
3 // Compiler options: -langversion:experimental
5 public class C
7 public static void Main ()
9 dynamic target = 3;
10 var x = new Test (target, out var y);
14 class Test
16 public Test (int x, out int y)
18 y = 0;