Open sandboxFocus

Method GetImmutabilityKind

GetImmutabilityKind(IType)

Returns the ImmutabilityKind for a given type.

Declaration
public static ImmutabilityKind GetImmutabilityKind(this IType type)
Parameters
Type Name Description
IType type

The type to evaluate.

Returns
Type Description
ImmutabilityKind

The ImmutabilityKind of the type, determined by the following rules in order: