6 references to StringIgnoreCaseHashSet
Microsoft.CodeAnalysis.Workspaces (6)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (4)
342
identifiers = SharedPools.
StringIgnoreCaseHashSet
.AllocateAndClear();
343
escapedIdentifiers = SharedPools.
StringIgnoreCaseHashSet
.AllocateAndClear();
364
SharedPools.
StringIgnoreCaseHashSet
.ClearAndFree(identifiers);
365
SharedPools.
StringIgnoreCaseHashSet
.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();