From 1fd47489b61e0447132f2b0a44262e50f4f1d0ad Mon Sep 17 00:00:00 2001 From: Chris Hamons Date: Tue, 17 Jul 2018 13:50:22 -0500 Subject: [PATCH] Fix introspection test results on new macOS beta --- src/metalperformanceshaders.cs | 4 ++-- tests/introspection/Mac/MacCoreImageFiltersTest.cs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/metalperformanceshaders.cs b/src/metalperformanceshaders.cs index 2c50184a44e9..be6bdbc2e191 100644 --- a/src/metalperformanceshaders.cs +++ b/src/metalperformanceshaders.cs @@ -1253,7 +1253,7 @@ interface MPSCnnLogSoftMax { [iOS (10,0)][TV (10,0)][Mac (10, 13, onlyOn64: true)] [BaseType (typeof (NSObject))] [DisableDefaultCtor] - interface MPSImageDescriptor { + interface MPSImageDescriptor : NSCopying { [Export ("width")] nuint Width { get; set; } @@ -3240,7 +3240,7 @@ interface IMPSCnnConvolutionDataSource { } [TV (11,0), Mac (10, 13, onlyOn64: true), iOS (11,0)] [Protocol, Model] [BaseType (typeof (NSObject), Name = "MPSCNNConvolutionDataSource")] - interface MPSCnnConvolutionDataSource { + interface MPSCnnConvolutionDataSource : NSCopying { [Abstract] [Export ("dataType")] MPSDataType DataType { get; } diff --git a/tests/introspection/Mac/MacCoreImageFiltersTest.cs b/tests/introspection/Mac/MacCoreImageFiltersTest.cs index badadf0e36fe..bf11dc23513b 100644 --- a/tests/introspection/Mac/MacCoreImageFiltersTest.cs +++ b/tests/introspection/Mac/MacCoreImageFiltersTest.cs @@ -33,6 +33,7 @@ public class MacCoreImageFiltersTest : ApiCoreImageFiltersTest protected override bool Skip (string nativeName) { switch (nativeName) { + case "CISaliencyMapFilter": // Appears in 10.14 but not documented case "CIEdgePreserveUpsampleFilter": // Appears in 10.13 but not documented case "CIMaskedVariableBlur": // Appears removed in 10.11 but not documented if (Mac.CheckSystemVersion (10, 11))