提交 b40ad5bd 编写于 作者: A Andy Gocke

More test fixups

上级 70a20523
......@@ -397,7 +397,7 @@ static void Main()
}
}";
await TestInRegularAndScriptAsync(code, expected);
await TestInRegularAndScriptAsync(code, expected, parseOptions: TestOptions.Regular7_3);
}
[WorkItem(627092, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/627092")]
......
......@@ -336,9 +336,9 @@ void M(int arg1, int arg2)
}",
@"class C
{
void M(int arg1, int arg2)
void M(int arg1, int arg2)
=> M(arg1: 1 + 2, 2);
}");
}", parameters: new TestParameters(parseOptions: TestOptions.Regular7_3));
}
[WorkItem(18848, "https://github.com/dotnet/roslyn/issues/18848")]
......
......@@ -2160,7 +2160,7 @@ class C
{
string Name
{
get => default;
get => default(string);
set
{
}
......@@ -2188,7 +2188,7 @@ class C
{
get
{
return default;
return default(string);
}
set
......@@ -2220,7 +2220,7 @@ class C$$
<Code>
class C
{
string Name => default;
string Name => default(string);
}
</Code>
......@@ -2244,7 +2244,7 @@ class C
{
get
{
return default;
return default(string);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册