Skip to content

Commit

Permalink
remove the xamcore5 nullability removal
Browse files Browse the repository at this point in the history
  • Loading branch information
tj_devel709 committed Oct 20, 2023
1 parent 049c2de commit 984f796
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions src/passkit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1626,18 +1626,10 @@ public enum PKDisbursementRequestSchedule : long {
[BaseType (typeof (NSObject))]
interface PKDisbursementRequest {

#if XAMCORE_5_0
[Export ("currencyCode")]
#else
[NullAllowed, Export ("currencyCode")]
#endif
string CurrencyCode { get; set; }

#if XAMCORE_5_0
[Export ("summaryItems", ArgumentSemantic.Copy)]
#else
[NullAllowed, Export ("summaryItems", ArgumentSemantic.Copy)]
#endif
PKPaymentSummaryItem [] SummaryItems { get; set; }

[iOS (17, 0), NoMac, NoWatch, NoTV, NoMacCatalyst]
Expand Down
2 changes: 0 additions & 2 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-PassKit.ignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Breaking change, but added in XAMCORE_5_0
!incorrect-protocol-member! PKAddSecureElementPassViewControllerDelegate::addSecureElementPassViewController:didFinishAddingSecureElementPass:error: is OPTIONAL and should NOT be abstract
!extra-null-allowed! 'System.Void PassKit.PKDisbursementRequest::set_CurrencyCode(System.String)' has a extraneous [NullAllowed] on parameter #0
!extra-null-allowed! 'System.Void PassKit.PKDisbursementRequest::set_SummaryItems(PassKit.PKPaymentSummaryItem[])' has a extraneous [NullAllowed] on parameter #0

# No longer used enum, will be removed in XAMCORE_5_0
!unknown-native-enum! PKDisbursementRequestSchedule bound
Expand Down
2 changes: 0 additions & 2 deletions tests/xtro-sharpie/iOS-PassKit.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

# Breaking change, but added in XAMCORE_5_0
!incorrect-protocol-member! PKAddSecureElementPassViewControllerDelegate::addSecureElementPassViewController:didFinishAddingSecureElementPass:error: is OPTIONAL and should NOT be abstract
!extra-null-allowed! 'System.Void PassKit.PKDisbursementRequest::set_CurrencyCode(System.String)' has a extraneous [NullAllowed] on parameter #0
!extra-null-allowed! 'System.Void PassKit.PKDisbursementRequest::set_SummaryItems(PassKit.PKPaymentSummaryItem[])' has a extraneous [NullAllowed] on parameter #0

# needed to allow our WeakDelegate wrap
!extra-null-allowed! 'System.Void PassKit.PKPayLaterView::set_WeakDelegate(Foundation.NSObject)' has a extraneous [NullAllowed] on parameter #0
Expand Down

0 comments on commit 984f796

Please sign in to comment.