Monobjc.RuntimeTests.SetUp C# (CSharp) Method

SetUp() private method

private SetUp ( ) : void
return void
        public void SetUp()
        {
            // Create an autorelease pool
            this.pool = objc_sendMsg_IntPtr(this.cls_NSAutoreleasePool, this.sel_alloc);
            Assert.AreNotEqual(IntPtr.Zero, this.pool, "NSAutoreleasePool allocation failed");
            this.pool = objc_sendMsg_IntPtr(this.pool, this.sel_init);
            Assert.AreNotEqual(IntPtr.Zero, this.pool, "NSAutoreleasePool initialization failed");
        }