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