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