// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.FindSymbols.Finders { internal class DestructorSymbolReferenceFinder : AbstractReferenceFinder { protected override bool CanFind(IMethodSymbol symbol) { return symbol.MethodKind == MethodKind.Destructor; } protected override Task> DetermineCascadedSymbolsAsync( SymbolAndProjectId symbol, Solution solution, IImmutableSet projects, CancellationToken cancellationToken) { return SpecializedTasks.EmptyImmutableArray(); } protected override Task> DetermineDocumentsToSearchAsync( IMethodSymbol symbol, Project project, IImmutableSet documents, CancellationToken cancellationToken) { return SpecializedTasks.EmptyImmutableArray(); } protected override Task> FindReferencesInDocumentAsync( IMethodSymbol methodSymbol, Document document, CancellationToken cancellationToken) { return SpecializedTasks.EmptyImmutableArray(); } } }