2da529c328
* [CGImageMetadataTag] Subclass NativeObject + numerous other code updates * Subclass NativeObject to reuse object lifetime code. * Enable nullability and fix code accordingly. * Use 'is' and 'is not' instead of '==' and '!=' for object identity. * Use the null-safe NativeObjectExtensions.GetHandle extension method to get the handle instead of checking for null (avoids some code duplication). * Use 'nameof (parameter)' instead of string constants. * Use the 'Runtime.GetNSObject<T> (IntPtr, bool)' overload to specify handle ownership, to avoid having to call NSObject.DangerousReleaes manually later. * Remove the (IntPtr) constructor for .NET * Fix nullability attribute. * [tests] Don't dispose a property value. It ends up being the object instance we've stored elsewhere, which we don't expect to be disposed. |
||
---|---|---|
.. | ||
CGImageAnimationTest.cs | ||
CGImageSourceTest.cs | ||
ImageDestinationTest.cs | ||
ImageMetadataTagTest.cs | ||
ImageMetadataTest.cs | ||
MutableImageMetadataTest.cs |