Skip to content

ImmutableArrayCopier<T> Methods

Copier for System.Collections.Immutable.ImmutableArray.

DeepCopy(ImmutableArray<T>, CopyContext)

View source
public ImmutableArray<T> DeepCopy(ImmutableArray<T> input, CopyContext context)
Creates a deep copy of the provided input.

Parameters

inputImmutableArray<T>
The input.
contextCopyContext
The context.

Returns

A copy of input, or null if input is null.

IsShallowCopyable

View source
public bool IsShallowCopyable()
Returns true if the type is shallow-copyable.

Returns

true if the type is shallow-copyable; otherwise, false.