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