Language

JavaPrimitiveArray<T>.DisposeUnlessReferenced Method

Definition

Disposes temporary marshaling arrays immediately; otherwise, uses the peer disposal policy.

public override void DisposeUnlessReferenced();
override this.DisposeUnlessReferenced : unit -> unit

Remarks

The internal marshaling-collection flag selects unconditional disposal. Other arrays use the base value manager's peer-disposal decision.

Applies to