5 references to ToImmutable
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (2)
66
propertyTypes.ToImmutable(), propertyNames.
ToImmutable
()!,
67
propertyIsReadOnly.
ToImmutable
(), propertyLocations);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FunctionPointerTypeSymbolKey.cs (1)
92
returnTypeSymbol, returnRefKind, parameterTypes.ToImmutable(), paramRefKinds.
ToImmutable
(), callingConvention, callingConventionModifiers));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (2)
82
var elementNamesArray = elementNames.
ToImmutable
();
123
elementTypes.ToImmutable(), elementNames.
ToImmutable
(), elementLocations!);