提交 8d8d25cc 编写于 作者: S Sam Harwell

Avoid semantic model lookup and filtering for explicit interface implementation

上级 a8084f3a
......@@ -79,11 +79,7 @@ public override async Task ProvideCompletionsAsync(CompletionContext context)
return;
}
var members = semanticModel.LookupSymbols(
position: name.SpanStart,
container: symbol)
.WhereAsArray(s => !s.IsStatic && s.ContainingType.Equals(symbol))
.FilterToVisibleAndBrowsableSymbols(options.GetOption(CompletionOptions.HideAdvancedMembers, semanticModel.Language), semanticModel.Compilation);
var members = symbol.GetMembers();
// We're going to create a entry for each one, including the signature
var namePosition = name.SpanStart;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册