14 references to SegmentedArray
Microsoft.CodeAnalysis.Workspaces (14)
src\Compilers\Core\Portable\InternalUtilities\StringTable.cs (1)
66private static readonly SegmentedArray<Entry> s_sharedTable = new SegmentedArray<Entry>(SharedSize);
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
493var buckets = new SegmentedArray<int>(size); 494var entries = new SegmentedArray<Entry>(size); 655_buckets = new SegmentedArray<int>(newSize);
src\Dependencies\Collections\SegmentedHashSet`1.cs (3)
908_buckets = new SegmentedArray<int>(newSize); 999var buckets = new SegmentedArray<int>(size); 1000var entries = new SegmentedArray<Entry>(size);
src\Dependencies\Collections\SegmentedList`1.cs (4)
42private static readonly SegmentedArray<T> s_emptyArray = new(0); 66_items = new SegmentedArray<T>(capacity); 95_items = new SegmentedArray<T>(count); 146_items = new SegmentedArray<T>(value);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\ImmutableIntervalTree`1.cs (2)
25public static readonly ImmutableIntervalTree<T> Empty = new(new SegmentedArray<Node>(0)); 86var array = new SegmentedArray<Node>(values.Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
68_cachedOriginalTriviaInfo = new SegmentedArray<TriviaData>(this.TokenCount - 1);