/// <inheritdoc /> public override unsafe int Clone(out CorDebugEnum <TUnknown> ppEnum) { void **clonedEnum = default; int hResult = Calli(_this, This[0]->Clone, &clonedEnum); ppEnum = ComFactory.Create <CorDebugComEnum <TUnknown> >(clonedEnum, hResult); return(hResult); }
internal unsafe Enumerator(CorDebugComEnum <TUnknown> parent) { int hResult = parent.Clone(out _parent); _ownsParent = hResult != HResult.E_NOTIMPL; if (_ownsParent) { hResult.MaybeThrowHr(); } else { _parent = parent; } _ptr = default; }
internal Enumerator(CorDebugStructEnum <T> parent) { int hResult = parent.Clone(out _parent); _ownsParent = hResult != HResult.E_NOTIMPL; if (_ownsParent) { hResult.MaybeThrowHr(); } else { _parent = parent; } _obj = default; }
/// <summary> /// Creates a copy of this object. /// </summary> public abstract int Clone(out CorDebugEnum <TItem> ppEnum);