Skip to content

Commit

Permalink
Apply XM audit fixes from xcode10 (#4986)
Browse files Browse the repository at this point in the history
Backport of
b40230c
  • Loading branch information
spouliot authored Oct 16, 2018
1 parent 1082ce7 commit b2a596d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/AppKit/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2542,7 +2542,7 @@ public enum NSVisualEffectMaterial : long {
[Mac (10,14)]
WindowBackground = 12,
[Mac (10,14)]
HUDWindow = 13,
HudWindow = 13,
[Mac (10,14)]
FullScreenUI = 15,
[Mac (10,14)]
Expand Down
15 changes: 6 additions & 9 deletions src/appkit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4123,7 +4123,7 @@ partial interface NSColor : NSCoding, NSCopying, NSSecureCoding, NSPasteboardRea

[Mac (10,14, onlyOn64: true)]
[Export ("colorWithSystemEffect:")]
NSColor WithSystemEffect (NSColorSystemEffect systemEffect);
NSColor FromSystemEffect (NSColorSystemEffect systemEffect);

[Mac (10, 13)]
[Static]
Expand Down Expand Up @@ -7938,16 +7938,13 @@ partial interface NSMenu : NSCoding, NSCopying, NSAccessibility, NSAccessibility
[PostSnippet ("__mt_items_var = ItemArray();")]
void RemoveAllItems ();

#if XAMCORE_4_0
[Export ("itemArray", ArgumentSemantic.Copy)]
NSMenuItem[] ItemArray { get; [Mac (10, 14, onlyOn64: true)] set; }
#else
[Export ("itemArray")]
NSMenuItem [] ItemArray ();
NSMenuItem[] Items { get; [Mac (10, 14, onlyOn64: true)] set; }

[Mac (10, 14, onlyOn64: true)]
[Export ("setItemArray:")]
void SetItemArray (NSMenuItem [] items);
#if !XAMCORE_4_0
[Obsolete ("Use 'Items' instead.")]
[Wrap ("Items", IsVirtual = true)]
NSMenuItem [] ItemArray ();
#endif

[Export ("numberOfItems")]
Expand Down
4 changes: 4 additions & 0 deletions src/foundation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12369,7 +12369,11 @@ interface NSFileManager_NSUserInformation {
partial interface NSFilePresenter {
[Abstract]
[Export ("presentedItemURL", ArgumentSemantic.Retain)]
#if XAMCORE_4_0
NSUrl PresentedItemUrl { get; }
#else
NSUrl PresentedItemURL { get; }
#endif

#if XAMCORE_2_0
[Abstract]
Expand Down

1 comment on commit b2a596d

@xamarin-release-manager
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build was (probably) aborted

🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Build' 🔥 : hudson.AbortException: script returned exit code 2

🔥 Build failed 🔥

Please sign in to comment.