public void Context_Url_Rect_Info() { using (var url = new NSUrl(filename)) using (var ctx = new CGContextPDF(url, new CGRect(0, 0, 1000, 1000), PDFInfoTest.GetInfo())) { ctx.AddDestination("monkey", CGPoint.Empty); ctx.Close(); } }