// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Diagnostics;
usingMicrosoft.CodeAnalysis.CSharp.Symbols;
usingMicrosoft.CodeAnalysis.CSharp.Syntax;
usingMicrosoft.CodeAnalysis.Text;
usingMicrosoft.CodeAnalysis.Collections;
usingRoslyn.Utilities;
namespaceMicrosoft.CodeAnalysis.CSharp.Symbols
{
internalstaticclassBaseTypeAnalysis
{
// let's keep up to 16 hashsets so that we do not need to allocate them over and over.
// we do not allocate hashsets recursively, so even for big hierarchies, one hashset is sufficient
// We may need more than one in a case of running this analysis concurrently, so we will keep up to 16