Skip to content

ImmutableArrayCodec<T>.ConvertFromSurrogate(ImmutableArraySurrogate<T>)

ConvertFromSurrogate(ImmutableArraySurrogate<T>)

override
View source
public override ImmutableArray<T> ConvertFromSurrogate(ref ImmutableArraySurrogate<T> surrogate)
Converts a value from the surrogate type to the field type.

Parameters

surrogateImmutableArraySurrogate<T>
The surrogate.

Returns

The value.