public static unsafe void ApplyCliTelemInfo (global::Com.Microsoft.Identity.Common.Internal.Telemetry.CliTelemInfo cliTelemInfo, global::Com.Microsoft.Identity.Common.Exception.BaseException outErr) { const string __id = "applyCliTelemInfo.(Lcom/microsoft/identity/common/internal/telemetry/CliTelemInfo;Lcom/microsoft/identity/common/exception/BaseException;)V"; try { JniArgumentValue* __args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue ((cliTelemInfo == null) ? IntPtr.Zero : ((global::Java.Lang.Object) cliTelemInfo).Handle); __args [1] = new JniArgumentValue ((outErr == null) ? IntPtr.Zero : ((global::Java.Lang.Throwable) outErr).Handle); _members.StaticMethods.InvokeVoidMethod (__id, __args); } finally { global::System.GC.KeepAlive (cliTelemInfo); global::System.GC.KeepAlive (outErr); } }
public unsafe CliTelemInfo(global::Com.Microsoft.Identity.Common.Internal.Telemetry.CliTelemInfo copy) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "(Lcom/microsoft/identity/common/internal/telemetry/CliTelemInfo;)V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((copy == null) ? IntPtr.Zero : ((global::Java.Lang.Object)copy).Handle); var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args); SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance(__id, this, __args); } finally { global::System.GC.KeepAlive(copy); } }