diff --git a/src/metal.cs b/src/metal.cs index 6b49b2a96b63..7abb41258f19 100644 --- a/src/metal.cs +++ b/src/metal.cs @@ -9648,6 +9648,10 @@ interface MTL4TileRenderPipelineDescriptor { interface MTLFunctionReflection { [Export ("bindings")] IMTLBinding [] Bindings { get; } + + [Mac (26, 1), iOS (26, 1), TV (26, 1), MacCatalyst (26, 1)] + [NullAllowed, Export ("userAnnotation")] + string UserAnnotation { get; } } [Mac (26, 0), iOS (26, 0), TV (26, 0), MacCatalyst (26, 0)] diff --git a/tests/introspection/ApiSelectorTest.cs b/tests/introspection/ApiSelectorTest.cs index c6ce28740154..fbc4b5db7c64 100644 --- a/tests/introspection/ApiSelectorTest.cs +++ b/tests/introspection/ApiSelectorTest.cs @@ -1207,6 +1207,7 @@ protected virtual bool Skip (Type type, string selectorName) case "MTLFunctionReflection": switch (selectorName) { case "bindings": + case "userAnnotation": return true; } break; diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Metal.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Metal.todo deleted file mode 100644 index e13e0610678d..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Metal.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-selector! MTLFunctionReflection::userAnnotation not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Metal.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-Metal.todo deleted file mode 100644 index e13e0610678d..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-Metal.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-selector! MTLFunctionReflection::userAnnotation not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-Metal.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-Metal.todo deleted file mode 100644 index e13e0610678d..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-Metal.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-selector! MTLFunctionReflection::userAnnotation not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Metal.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Metal.todo deleted file mode 100644 index e13e0610678d..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-Metal.todo +++ /dev/null @@ -1 +0,0 @@ -!missing-selector! MTLFunctionReflection::userAnnotation not bound