13 references to ToImmutable
GenerateDocumentationAndConfigFiles (2)
src\RoslynAnalyzers\Microsoft.CodeAnalysis.Analyzers\Core\MetaAnalyzers\ReleaseTrackingHelper.cs (2)
250return new ReleaseTrackingData(builder.ToImmutable(), versionsBuilder.ToImmutable()); 417=> _builder.ToImmutable();
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\Converters\DictionaryAdapters\ImmutableSortedDictionaryBufferAdapter.cs (1)
20public static ImmutableSortedDictionary<TKey, TValue> ToResult(ImmutableSortedDictionary<TKey, TValue>.Builder buffer) => buffer.ToImmutable();
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\Converters\DictionaryAdapters\ImmutableSortedDictionaryBufferAdapter.cs (1)
20public static ImmutableSortedDictionary<TKey, TValue> ToResult(ImmutableSortedDictionary<TKey, TValue>.Builder buffer) => buffer.ToImmutable();
Microsoft.CodeAnalysis.Analyzers (2)
MetaAnalyzers\ReleaseTrackingHelper.cs (2)
250return new ReleaseTrackingData(builder.ToImmutable(), versionsBuilder.ToImmutable()); 417=> _builder.ToImmutable();
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
128new SourceGeneratorExecutionVersionMap(projectIdToSourceGenerationVersion.ToImmutable()));
Workspace\Solution\SourceGeneratorExecutionVersion.cs (1)
105return new(builder.ToImmutable());
Workspace\Solution\TextDocumentStates.cs (2)
197return new(_ids, builder.ToImmutable(), filePathToDocumentIds); 218return new(_ids, builder.ToImmutable(), filePaths);
Workspace\Workspace_SourceGeneration.cs (1)
108return new(result.ToImmutable());
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableSortedDictionary.cs (1)
157return builder.ToImmutable();
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
763other = builder.ToImmutable();