5 references to AsImmutable
Microsoft.CodeAnalysis (5)
CodeGen\PrivateImplementationDetails.cs (3)
173_orderedSynthesizedMethods = _synthesizedMethods.OrderBy(kvp => kvp.Key).Select(kvp => kvp.Value).AsImmutable(); 176_orderedTopLevelTypes = _synthesizedTopLevelTypes.OrderBy(kvp => kvp.Key).Select(kvp => (Cci.INamespaceTypeDefinition)kvp.Value).AsImmutable(); 179_orderedProxyTypes = _proxyTypes.OrderBy(kvp => kvp.Key.Size).ThenBy(kvp => kvp.Key.Alignment).Select(kvp => kvp.Value).AsImmutable();
Compilation\DeterministicKeyBuilder.cs (1)
331compilation.References.AsImmutable(),
InternalUtilities\EnumerableExtensions.cs (1)
766var items = grouping.AsImmutable();