9 references to 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.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
105new SourceGeneratorExecutionVersionMap(projectIdToSourceGenerationVersion.ToImmutable()));
Workspace\Solution\SourceGeneratorExecutionVersion.cs (1)
103return new(builder.ToImmutable());
Workspace\Solution\TextDocumentStates.cs (2)
198return new(_ids, builder.ToImmutable(), filePathToDocumentIds); 219return new(_ids, builder.ToImmutable(), filePaths);
Workspace\Workspace_SourceGeneration.cs (1)
107return 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();