提交 793ed33b 编写于 作者: S Sam Harwell

Indent switch case labels

上级 a93570e6
......@@ -332,23 +332,23 @@ private static string StripCommonPrefixes(string name)
{
switch (char.ToLowerInvariant(name[index]))
{
case 'm':
case 's':
case 't':
if (index + 2 < name.Length && name[index + 1] == '_')
{
index += 2;
case 'm':
case 's':
case 't':
if (index + 2 < name.Length && name[index + 1] == '_')
{
index += 2;
continue;
}
break;
case '_':
index++;
continue;
}
break;
case '_':
index++;
continue;
default:
break;
default:
break;
}
// If we reach this point, the current iteration did not strip any additional characters
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册