提交 c388a8cf 编写于 作者: C Cyrus Najmabadi

Add test validating behavior

上级 75ec1626
......@@ -1989,16 +1989,20 @@ public void Test()
Console.WriteLine(x);|]
}
}";
var expected = @"class Program
var expected = @"using System;
class C
{
public Program(string a, int b)
: this(a, NewMethod())
public void Test()
{
int x = 0;
NewMethod(x);
}
private static Program NewMethod()
private static void NewMethod(int x)
{
return new Program();
void Local() { }
Console.WriteLine(x);
}
}";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册