Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/appkit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9307,10 +9307,13 @@ interface NSOpenPanel {
[ForcedType] // different type used inside a sandbox
NSOpenPanel OpenPanel { get; }

#if !XAMCORE_5_0
[EditorBrowsable (EditorBrowsableState.Never)]
[Advice ("You must use 'OpenPanel' method if the application is sandboxed.")]
[Deprecated (PlatformName.MacOSX, 10, 15, message: "All open panels now run out-of-process, use 'OpenPanel' method instead")]
[Export ("init")]
NativeHandle Constructor ();
#endif

[Export ("URLs")]
NSUrl [] Urls { get; }
Expand Down Expand Up @@ -13652,10 +13655,13 @@ interface NSSavePanel {
[ForcedType] // different type used inside a sandbox
NSSavePanel SavePanel { get; }

#if !XAMCORE_5_0
[Advice ("You must use 'SavePanel' method if the application is sandboxed.")]
[Deprecated (PlatformName.MacOSX, 10, 15, message: "All save panels now run out-of-process, use 'SavePanel' method instead")]
[EditorBrowsable (EditorBrowsableState.Never)]
[Export ("init")]
NativeHandle Constructor ();
#endif

[Export ("URL")]
NSUrl Url { get; }
Expand Down
2 changes: 0 additions & 2 deletions tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24342,7 +24342,6 @@ M:AppKit.NSOpenGLPixelFormat.#ctor(System.Object[])
M:AppKit.NSOpenGLPixelFormat.#ctor(System.UInt32[])
M:AppKit.NSOpenGLPixelFormat.EncodeTo(Foundation.NSCoder)
M:AppKit.NSOpenGLView.#ctor(CoreGraphics.CGRect)
M:AppKit.NSOpenPanel.#ctor
M:AppKit.NSOpenPanel.BeginSheet(System.String,System.String,System.String[],AppKit.NSWindow,System.Action)
M:AppKit.NSOpenPanel.BeginSheet(System.String,System.String,System.String[],AppKit.NSWindow)
M:AppKit.NSOpenSaveExpandingEventArgs.#ctor(System.Boolean)
Expand Down Expand Up @@ -24687,7 +24686,6 @@ M:AppKit.NSRulerMarkerClientViewDelegation.RulerViewLocation(AppKit.NSView,AppKi
M:AppKit.NSRulerMarkerClientViewDelegation.RulerViewPoint(AppKit.NSView,AppKit.NSRulerView,System.Runtime.InteropServices.NFloat)
M:AppKit.NSRulerView.#ctor(CoreGraphics.CGRect)
M:AppKit.NSRulerView.Dispose(System.Boolean)
M:AppKit.NSSavePanel.#ctor
M:AppKit.NSSavePanel.add_DidChangeToDirectory(System.EventHandler{AppKit.NSOpenSavePanelUrlEventArgs})
M:AppKit.NSSavePanel.add_DidSelectType(System.EventHandler{AppKit.NSopenSavePanelUTTypeEventArgs})
M:AppKit.NSSavePanel.add_DirectoryDidChange(System.EventHandler{AppKit.NSOpenSaveFilenameEventArgs})
Expand Down