6 references to StringHashSet
Microsoft.CodeAnalysis.Workspaces (6)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (4)
350identifiers = SharedPools.StringHashSet.AllocateAndClear(); 351escapedIdentifiers = SharedPools.StringHashSet.AllocateAndClear(); 372SharedPools.StringHashSet.ClearAndFree(identifiers); 373SharedPools.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();