2 instantiations of SmallConcurrentSetOfInts
Microsoft.CodeAnalysis (2)
Collections\SmallConcurrentSetOfInts.cs (1)
102SmallConcurrentSetOfInts tail = new SmallConcurrentSetOfInts(initialValue: i);
Compilation\Compilation.cs (1)
3525private static readonly Func<SyntaxTree, SmallConcurrentSetOfInts> s_createSetCallback = t => new SmallConcurrentSetOfInts();
13 references to SmallConcurrentSetOfInts
Microsoft.CodeAnalysis (13)
Collections\SmallConcurrentSetOfInts.cs (8)
28private SmallConcurrentSetOfInts? _next; 51return SmallConcurrentSetOfInts.Contains(this, i); 54private static bool Contains(SmallConcurrentSetOfInts set, int i) 56SmallConcurrentSetOfInts? current = set; 81return SmallConcurrentSetOfInts.Add(this, i); 84private static bool Add(SmallConcurrentSetOfInts set, int i) 98var nextSet = set._next; 102SmallConcurrentSetOfInts tail = new SmallConcurrentSetOfInts(initialValue: i);
Compilation\Compilation.cs (5)
3524private ConcurrentDictionary<SyntaxTree, SmallConcurrentSetOfInts>? _lazyTreeToUsedImportDirectivesMap; 3525private static readonly Func<SyntaxTree, SmallConcurrentSetOfInts> s_createSetCallback = t => new SmallConcurrentSetOfInts(); 3527private ConcurrentDictionary<SyntaxTree, SmallConcurrentSetOfInts> TreeToUsedImportDirectivesMap 3545var set = TreeToUsedImportDirectivesMap.GetOrAdd(syntaxTree, s_createSetCallback); 3558SmallConcurrentSetOfInts? usedImports;