7 references to SegmentedList
IdeCoreBenchmarks (2)
SegmentedListBenchmarks_InsertRange.cs (2)
34_segmentedValues = new Microsoft.CodeAnalysis.Collections.SegmentedList<int>(Count); 35_segmentedValuesObject = new Microsoft.CodeAnalysis.Collections.SegmentedList<object?>(Count);
Microsoft.CodeAnalysis.Workspaces (5)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
438var list = new SegmentedList<TOutput>(_size); 744return LazyInitializer.EnsureInitialized(ref s_emptyEnumerator, static () => new Enumerator(new SegmentedList<T>(0)))!; 764var list = new SegmentedList<T>(count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
60_tokens = new SegmentedList<SyntaxToken>(sizeOfList);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.ReaderReferenceMap.cs (1)
21= new(() => new SegmentedList<string>(20));