public static unsafe void LogTokenResultError(global::Java.Util.UUID correlationId, global::Com.Microsoft.Identity.Common.Internal.Providers.Oauth2.TokenResult tokenResult)
        {
            const string __id = "logTokenResultError.(Ljava/util/UUID;Lcom/microsoft/identity/common/internal/providers/oauth2/TokenResult;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((correlationId == null) ? IntPtr.Zero : ((global::Java.Lang.Object)correlationId).Handle);
                __args [1] = new JniArgumentValue((tokenResult == null) ? IntPtr.Zero : ((global::Java.Lang.Object)tokenResult).Handle);
                _members.StaticMethods.InvokeVoidMethod(__id, __args);
            } finally {
                global::System.GC.KeepAlive(correlationId);
                global::System.GC.KeepAlive(tokenResult);
            }
        }
		public static unsafe global::Com.Microsoft.Identity.Common.Exception.ServiceException ExceptionFromTokenResult (global::Com.Microsoft.Identity.Common.Internal.Providers.Oauth2.TokenResult tokenResult)
		{
			const string __id = "exceptionFromTokenResult.(Lcom/microsoft/identity/common/internal/providers/oauth2/TokenResult;)Lcom/microsoft/identity/common/exception/ServiceException;";
			try {
				JniArgumentValue* __args = stackalloc JniArgumentValue [1];
				__args [0] = new JniArgumentValue ((tokenResult == null) ? IntPtr.Zero : ((global::Java.Lang.Object) tokenResult).Handle);
				var __rm = _members.StaticMethods.InvokeObjectMethod (__id, __args);
				return global::Java.Lang.Object.GetObject<global::Com.Microsoft.Identity.Common.Exception.ServiceException> (__rm.Handle, JniHandleOwnership.TransferLocalRef);
			} finally {
				global::System.GC.KeepAlive (tokenResult);
			}
		}