未验证 提交 fbd00bf8 编写于 作者: G Gen Lu 提交者: GitHub

Fix typo

Co-authored-by: NCyrusNajmabadi <cyrus.najmabadi@gmail.com>
上级 96fd856e
......@@ -34,7 +34,7 @@ protected override IEnumerable<ISymbol> GetCollidableSymbols(SemanticModel seman
// Get all the symbols visible to the current location.
var visibleSymbols = semanticModel.LookupSymbols(location.SpanStart);
// Local function parameter is allowed to shadow varaibles since C# 8.
// Local function parameter is allowed to shadow variables since C# 8.
if (((CSharpCompilation)semanticModel.Compilation).LanguageVersion.MapSpecifiedToEffectiveVersion() >= LanguageVersion.CSharp8)
{
if (SyntaxFacts.IsParameterList(container) && SyntaxFacts.IsLocalFunctionStatement(container.Parent))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册