5 references to SegmentedList
Microsoft.CodeAnalysis.Workspaces (5)
src\Dependencies\Collections\SegmentedList`1.cs (3)
436var list = new SegmentedList<TOutput>(_size); 742return LazyInitializer.EnsureInitialized(ref s_emptyEnumerator, static () => new Enumerator(new SegmentedList<T>(0)))!; 762var 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));