提交 c810cc3e 编写于 作者: C Cyrus Najmabadi

Bail on failure.

上级 5600a1b8
......@@ -160,7 +160,10 @@ public static bool IsDefinitelyNotPattern(SyntaxToken token, ISyntaxFactsService
}
else
{
break;
// hit something we don't understand. bail out. that will help ensure
// users don't have weird behavior just because they misspelled something.
// instead, they will know they need to fix it up.
return false;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册