提交 2ff6cb0b 编写于 作者: C CyrusNajmabadi

Merge branch 'removeUnusedFunction' into findRefLanguageModel

......@@ -15,21 +15,6 @@ namespace Microsoft.VisualStudio.LanguageServices.Implementation.Library.FindRes
{
internal partial class LibraryManager
{
private bool IncludeDefinition(ReferencedSymbol reference)
{
var definition = reference.Definition;
// Don't include parameters to property accessors
if (definition is IParameterSymbol &&
definition.ContainingSymbol is IMethodSymbol &&
((IMethodSymbol)definition.ContainingSymbol).AssociatedSymbol is IPropertySymbol)
{
return false;
}
return true;
}
public void PresentReferencedSymbols(string title, Solution solution, IEnumerable<ReferencedSymbol> items)
{
PresentObjectList(title, new ObjectList(CreateFindReferencesItems(solution, items), this));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册