[Foundation] Adopt more XAMCORE_4_0 changes in .NET. (#14017)
This is just removing obsolete API.
This commit is contained in:
Родитель
d5697a8867
Коммит
363e58f079
|
@ -8802,13 +8802,13 @@ namespace Foundation
|
|||
NSString ChangeNotificationIsPriorKey { get; }
|
||||
#if MONOMAC
|
||||
// Cocoa Bindings added by Kenneth J. Pouncey 2010/11/17
|
||||
#if !XAMCORE_4_0
|
||||
#if !NET
|
||||
[Sealed]
|
||||
#endif
|
||||
[Export ("valueClassForBinding:")]
|
||||
Class GetBindingValueClass (NSString binding);
|
||||
|
||||
#if !XAMCORE_4_0
|
||||
#if !NET
|
||||
[Obsolete ("Use 'Bind (NSString binding, NSObject observable, string keyPath, [NullAllowed] NSDictionary options)' instead.")]
|
||||
[Export ("bind:toObject:withKeyPath:options:")]
|
||||
void Bind (string binding, NSObject observable, string keyPath, [NullAllowed] NSDictionary options);
|
||||
|
@ -8845,25 +8845,25 @@ namespace Foundation
|
|||
NSString[] ExposedBindings { get; }
|
||||
#endif
|
||||
|
||||
#if !XAMCORE_4_0
|
||||
#if !NET
|
||||
[Sealed]
|
||||
#endif
|
||||
[Export ("bind:toObject:withKeyPath:options:")]
|
||||
void Bind (NSString binding, NSObject observable, string keyPath, [NullAllowed] NSDictionary options);
|
||||
|
||||
#if !XAMCORE_4_0
|
||||
#if !NET
|
||||
[Sealed]
|
||||
#endif
|
||||
[Export ("unbind:")]
|
||||
void Unbind (NSString binding);
|
||||
|
||||
#if !XAMCORE_4_0
|
||||
#if !NET
|
||||
[Sealed]
|
||||
#endif
|
||||
[Export ("infoForBinding:")]
|
||||
NSDictionary GetBindingInfo (NSString binding);
|
||||
|
||||
#if !XAMCORE_4_0
|
||||
#if !NET
|
||||
[Sealed]
|
||||
#endif
|
||||
[Export ("optionDescriptionsForBinding:")]
|
||||
|
|
|
@ -542,7 +542,7 @@
|
|||
!missing-null-allowed! 'Foundation.NSDictionary AppKit.NSTableView::get_RegisteredNibsByIdentifier()' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'Foundation.NSDictionary AppKit.NSTrackingArea::get_UserInfo()' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'Foundation.NSDictionary AppKit.NSWorkspace::DesktopImageOptions(AppKit.NSScreen)' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'Foundation.NSDictionary Foundation.NSObject::BindingInfo(System.String)' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'Foundation.NSDictionary Foundation.NSObject::GetBindingInfo(Foundation.NSString)' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'Foundation.NSExpression[] AppKit.NSPredicateEditorRowTemplate::get_LeftExpressions()' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'Foundation.NSExpression[] AppKit.NSPredicateEditorRowTemplate::get_RightExpressions()' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'Foundation.NSFileWrapper AppKit.NSDocument::GetAsFileWrapper(System.String,Foundation.NSError&)' is missing an [NullAllowed] on return type
|
||||
|
@ -634,7 +634,7 @@
|
|||
!missing-null-allowed! 'ObjCRuntime.Class AppKit.NSDocumentController::DocumentClassForType(System.String)' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'ObjCRuntime.Class AppKit.NSImageRep::ImageRepClassForData(Foundation.NSData)' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'ObjCRuntime.Class AppKit.NSImageRep::ImageRepClassForType(System.String)' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'ObjCRuntime.Class Foundation.NSObject::BindingValueClass(System.String)' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'ObjCRuntime.Class Foundation.NSObject::GetBindingValueClass(Foundation.NSString)' is missing an [NullAllowed] on return type
|
||||
!missing-null-allowed! 'System.Boolean AppKit.NSBrowser::IsLeafItem(Foundation.NSObject)' is missing an [NullAllowed] on parameter #0
|
||||
!missing-null-allowed! 'System.Boolean AppKit.NSBrowserDelegate::IsLeafItem(AppKit.NSBrowser,Foundation.NSObject)' is missing an [NullAllowed] on parameter #1
|
||||
!missing-null-allowed! 'System.Boolean AppKit.NSBrowserDelegate::ShouldEditItem(AppKit.NSBrowser,Foundation.NSObject)' is missing an [NullAllowed] on parameter #1
|
||||
|
|
Загрузка…
Ссылка в новой задаче