5 references to SegmentedList
Microsoft.CodeAnalysis.Workspaces (5)
src\Dependencies\Collections\SegmentedList`1.cs (3)
436
var list = new
SegmentedList
<TOutput>(_size);
742
return LazyInitializer.EnsureInitialized(ref s_emptyEnumerator, static () => new Enumerator(new
SegmentedList
<T>(0)))!;
762
var list = new
SegmentedList
<T>(count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
62
_tokens = new
SegmentedList
<SyntaxToken>(sizeOfList);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.ReaderReferenceMap.cs (1)
21
= new(() => new
SegmentedList
<string>(20));