public void IsDirectBinding() { using (var o1 = new NSObject()) { Assert.True(GetIsDirectBinding(o1), "inside monotouch.dll"); } using (var o2 = new MyObject()) { Assert.False(o2.GetIsDirectBinding(), "outside monotouch.dll"); } }