2017-08-21 15:34:15 +00:00
|
|
|
// CS8197: Cannot infer the type of implicitly-typed out variable `y'
|
|
|
|
// Line: 9
|
2015-01-13 10:44:36 +00:00
|
|
|
|
|
|
|
public class C
|
|
|
|
{
|
|
|
|
public static void Main ()
|
|
|
|
{
|
|
|
|
dynamic target = 3;
|
|
|
|
var x = new Test (target, out var y);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Test
|
|
|
|
{
|
|
|
|
public Test (int x, out int y)
|
|
|
|
{
|
|
|
|
y = 0;
|
|
|
|
}
|
|
|
|
}
|