提交 cf5a0e94 编写于 作者: A Alireza Habibi

Revert code

上级 262554f2
......@@ -335,7 +335,7 @@ void M2(object o)
private static readonly string s_preferSwitchExpression = $@"
class C
{{
int M1()
void M1()
{{
//[
// {ServicesVSResources.Prefer_colon}
......@@ -346,7 +346,7 @@ int M1()
}}
//]
}}
int M2()
void M2()
{{
//[
// {ServicesVSResources.Over_colon}
......@@ -365,14 +365,14 @@ int M2()
private static readonly string s_preferPatternMatching = $@"
class C
{{
bool M1()
void M1()
{{
//[
// {ServicesVSResources.Prefer_colon}
return num is 1 or 2;
//]
}}
bool M2()
void M2()
{{
//[
// {ServicesVSResources.Over_colon}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册