Skip to content

Commit

Permalink
[Foundation] Make NSUserDefaults.VolatileDomainNames a property in XA…
Browse files Browse the repository at this point in the history
…MCORE_5_0.

That's how it's in Swift.
  • Loading branch information
rolfbjarne committed May 9, 2022
1 parent 073c2c1 commit 6f94e6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/foundation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5644,7 +5644,11 @@ interface NSUserDefaults {
NSDictionary ToDictionary ();

[Export ("volatileDomainNames")]
#if XAMCORE_5_0
string [] VolatileDomainNames { get; }
#else
string [] VolatileDomainNames ();
#endif

[Export ("volatileDomainForName:")]
NSDictionary GetVolatileDomain (string domainName);
Expand Down

0 comments on commit 6f94e6e

Please sign in to comment.