6 references to StringHashSet
Microsoft.CodeAnalysis.Workspaces (6)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (4)
345identifiers = SharedPools.StringHashSet.AllocateAndClear(); 346escapedIdentifiers = SharedPools.StringHashSet.AllocateAndClear(); 367SharedPools.StringHashSet.ClearAndFree(identifiers); 368SharedPools.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();