提交 ee2c73c6 编写于 作者: C CyrusNajmabadi

Fix comment.

上级 9812e3ca
......@@ -88,7 +88,7 @@ public override async Task RegisterCodeFixesAsync(CodeFixContext context)
var semanticModel = await document.GetSemanticModelAsync(cancellationToken).ConfigureAwait(false);
var syntaxFacts = document.GetLanguageService<ISyntaxFactsService>();
// Not supported if this is "new Foo { ... }" (as there are no parameters at all.
// Not supported if this is "new { ... }" (as there are no parameters at all.
var typeNode = syntaxFacts.GetObjectCreationType(objectCreation);
if (typeNode == null)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册