protected virtual unsafe void SetAuthorizationStatus(global::Com.Microsoft.Identity.Common.Internal.Providers.Oauth2.AuthorizationStatus authStatus) { const string __id = "setAuthorizationStatus.(Lcom/microsoft/identity/common/internal/providers/oauth2/AuthorizationStatus;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((authStatus == null) ? IntPtr.Zero : ((global::Java.Lang.Object)authStatus).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { global::System.GC.KeepAlive(authStatus); } }
public unsafe AuthorizationResult(global::Com.Microsoft.Identity.Common.Internal.Providers.Oauth2.AuthorizationStatus status) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "(Lcom/microsoft/identity/common/internal/providers/oauth2/AuthorizationStatus;)V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((status == null) ? IntPtr.Zero : ((global::Java.Lang.Object)status).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(status); } }