diff --git a/src/authenticationservices.cs b/src/authenticationservices.cs index f83d3341fbea..1c548e586d14 100644 --- a/src/authenticationservices.cs +++ b/src/authenticationservices.cs @@ -745,6 +745,8 @@ public enum ASAuthorizationError : long { Failed = 1004, NotInteractive = 1005, MatchedExcludedCredential = 1006, + CredentialImport = 1007, + CredentialExport = 1008, } [Watch (6, 0), TV (13, 0), iOS (13, 0)] diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 5c3414a6c973..1aeb9270652e 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -4823,6 +4823,8 @@ F:AuthenticationServices.ASAuthorizationAppleIdProviderCredentialState.Revoked F:AuthenticationServices.ASAuthorizationAppleIdProviderCredentialState.Transferred F:AuthenticationServices.ASAuthorizationControllerRequestOptions.ImmediatelyAvailableCredentials F:AuthenticationServices.ASAuthorizationError.Canceled +F:AuthenticationServices.ASAuthorizationError.CredentialExport +F:AuthenticationServices.ASAuthorizationError.CredentialImport F:AuthenticationServices.ASAuthorizationError.Failed F:AuthenticationServices.ASAuthorizationError.InvalidResponse F:AuthenticationServices.ASAuthorizationError.MatchedExcludedCredential diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-AuthenticationServices.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-AuthenticationServices.todo deleted file mode 100644 index 4a8928e64b47..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-AuthenticationServices.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-enum-value! ASAuthorizationError native value ASAuthorizationErrorCredentialExport = 1008 not bound -!missing-enum-value! ASAuthorizationError native value ASAuthorizationErrorCredentialImport = 1007 not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AuthenticationServices.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-AuthenticationServices.todo deleted file mode 100644 index 4a8928e64b47..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-AuthenticationServices.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-enum-value! ASAuthorizationError native value ASAuthorizationErrorCredentialExport = 1008 not bound -!missing-enum-value! ASAuthorizationError native value ASAuthorizationErrorCredentialImport = 1007 not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AuthenticationServices.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-AuthenticationServices.todo deleted file mode 100644 index 4a8928e64b47..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-AuthenticationServices.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-enum-value! ASAuthorizationError native value ASAuthorizationErrorCredentialExport = 1008 not bound -!missing-enum-value! ASAuthorizationError native value ASAuthorizationErrorCredentialImport = 1007 not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AuthenticationServices.ignore b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AuthenticationServices.ignore new file mode 100644 index 000000000000..c37382784962 --- /dev/null +++ b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AuthenticationServices.ignore @@ -0,0 +1,3 @@ +# This is an error enum, so we include all values from all platforms, even if the value doesn't exist on that platform. +!extra-enum-value! Managed value 1007 for ASAuthorizationError.CredentialImport not found in native headers +!extra-enum-value! Managed value 1008 for ASAuthorizationError.CredentialExport not found in native headers