8 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.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.cs (1)
59var items = new SegmentedList<VSCompletionItem>(data.InitialItemList.Count);
Microsoft.CodeAnalysis.Workspaces (5)
AbstractFormatEngine.cs (1)
133var result = new SegmentedList<SyntaxNode>(Math.Max(this.SpanToFormat.Length / magicLengthToNodesRatio, 4));
ObjectReader.cs (1)
322= new(() => new SegmentedList<T>(20));
SegmentedList`1.cs (2)
365var list = new SegmentedList<TOutput>(_size); 627var list = new SegmentedList<T>(count);
TokenStream.cs (1)
62_tokens = new SegmentedList<SyntaxToken>(sizeOfList);