提交 85d65ef8 编写于 作者: S Sam Harwell

Work around unexpected value assertion

Currently AssertIsClosureScopeSyntax is failing for an interpolated string syntax
within particular expression appearing in Analyzer Runner. This change works around
the issue by using simple string concatenation instead.
上级 3f3d3148
...@@ -118,8 +118,8 @@ internal static Options Create(string[] args) ...@@ -118,8 +118,8 @@ internal static Options Create(string[] args)
else else
{ {
throw new InvalidDataException((arg.StartsWith("/", StringComparison.Ordinal) ? throw new InvalidDataException((arg.StartsWith("/", StringComparison.Ordinal) ?
$"Unrecognized option {arg}" : "Unrecognized option " + arg :
$"Unrecognized parameter {arg}")); "Unrecognized parameter " + arg));
} }
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册