private static WeakReference CreateCollectableInherited() { var obj = new MyObject(); return(new WeakReference(obj)); }
public static void instantiate_inherited() { Efl.Object loop = new MyObject(); Test.Assert(loop.NativeHandle != System.IntPtr.Zero); loop.Dispose(); }
public static void test_protected_interface_in_inherited_class_called_from_c() { var obj = new MyObject(); Test.AssertEquals(obj.CallMethodProtected(42), 42 * 42); }