6 references to StringHashSet
Microsoft.CodeAnalysis.Workspaces (6)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (4)
368identifiers = SharedPools.StringHashSet.AllocateAndClear(); 369escapedIdentifiers = SharedPools.StringHashSet.AllocateAndClear(); 390SharedPools.StringHashSet.ClearAndFree(identifiers); 391SharedPools.StringHashSet.ClearAndFree(escapedIdentifiers);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\NameGenerator.cs (2)
24using var nameSetPool = (isCaseSensitive ? SharedPools.StringHashSet : SharedPools.StringIgnoreCaseHashSet).GetPooledObject(); 91using var usedNamesPool = (isCaseSensitive ? SharedPools.StringHashSet : SharedPools.StringIgnoreCaseHashSet).GetPooledObject();