11 references to ToImmutable
Microsoft.CodeAnalysis.CodeStyle (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (4)
65propertyTypes.ToImmutable(), propertyNames.ToImmutable()!, 66propertyIsReadOnly.ToImmutable(), propertyLocations); 86return propertyLocations.ToImmutable()!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FunctionPointerTypeSymbolKey.cs (3)
50callingConventionModifiers = modifiersBuilder.ToImmutable(); 90returnTypeSymbol, returnRefKind, parameterTypes.ToImmutable(), paramRefKinds.ToImmutable(), callingConvention, callingConventionModifiers));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (4)
80var elementNamesArray = elementNames.ToImmutable(); 121elementTypes.ToImmutable(), elementNames.ToImmutable(), elementLocations!); 137return elementLocations.ToImmutable()!;