Skip to content

Commit

Permalink
Code review changes from old PR
Browse files Browse the repository at this point in the history
  • Loading branch information
chamons committed Jul 27, 2022
1 parent 256e12c commit 02f4555
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/foundation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1829,7 +1829,7 @@ interface NSByteCountFormatter {
[Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)]
[Static]
[Export ("stringFromMeasurement:countStyle:")]
string StringFromMeasurement (NSUnitInformationStorage measurement, NSByteCountFormatterCountStyle countStyle);
string Create (NSUnitInformationStorage measurement, NSByteCountFormatterCountStyle countStyle);

[Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)]
[Export ("stringFromMeasurement:")]
Expand Down Expand Up @@ -7465,6 +7465,10 @@ partial interface NSUrlSessionTask : NSCopying, NSProgressReporting
[NullAllowed, Export ("delegate", ArgumentSemantic.Retain)]
NSObject WeakDelegate { get; set; }

[Watch (8, 0), TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15,0)]
[Wrap ("WeakDelegate")]
[NullAllowed]
INSUrlSessionTaskDelegate Delegate { get; set; }
}

[Static]
Expand Down Expand Up @@ -7718,6 +7722,8 @@ partial interface NSUrlSessionDelegate {
void DidFinishEventsForBackgroundSession (NSUrlSession session);
}

public interface INSUrlSessionTaskDelegate {}

[iOS (7,0)]
[Mac (10, 9)]
[Model]
Expand Down

0 comments on commit 02f4555

Please sign in to comment.