9 references to ImmutableSegmentedList
Microsoft.CodeAnalysis.CSharp.Features (2)
ConvertToRawString\ConvertRegularStringToRawStringCodeRefactoringProvider.cs (2)
252
var result =
ImmutableSegmentedList
.CreateBuilder<VirtualChar>();
279
var result =
ImmutableSegmentedList
.CreateBuilder<VirtualChar>();
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Classification\SyntaxClassification\DocCommentCodeBlockClassifier.cs (1)
118
: (
ImmutableSegmentedList
.CreateRange(virtualCharsBuilder), []);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (3)
25
private static readonly ObjectPool<ImmutableSegmentedList<VirtualCharGreen>.Builder> s_pooledBuilders = new(() =>
ImmutableSegmentedList
.CreateBuilder<VirtualCharGreen>());
133
var result =
ImmutableSegmentedList
.CreateBuilder<VirtualCharGreen>();
201
var result =
ImmutableSegmentedList
.CreateBuilder<VirtualCharGreen>();
Microsoft.CodeAnalysis.Workspaces (3)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (1)
75
private readonly ImmutableSegmentedList<TItem>.Builder _nextBatch =
ImmutableSegmentedList
.CreateBuilder<TItem>();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (1)
160
var result =
ImmutableSegmentedList
.CreateBuilder<VirtualCharGreen>();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharUtilities.cs (1)
30
var builder =
ImmutableSegmentedList
.CreateBuilder<VirtualChar>();