Add NullAllowed to NSRunningApplication (#13703)

This commit is contained in:
Marius Ungureanu 2022-01-19 23:36:07 +02:00 коммит произвёл GitHub
Родитель 26d9d9172a
Коммит d2ccca6539
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 12 добавлений и 18 удалений

Просмотреть файл

@ -21952,28 +21952,34 @@ namespace AppKit {
[Export ("active")]
bool Active { [Bind ("isActive")] get; }
[Export ("activationPolicy")]
NSApplicationActivationPolicy ActivationPolicy { get; }
[NullAllowed]
[Export ("localizedName", ArgumentSemantic.Copy)]
string LocalizedName { get; }
[NullAllowed]
[Export ("bundleIdentifier", ArgumentSemantic.Copy)]
string BundleIdentifier { get; }
[NullAllowed]
[Export ("bundleURL", ArgumentSemantic.Copy)]
NSUrl BundleUrl { get; }
[NullAllowed]
[Export ("executableURL", ArgumentSemantic.Copy)]
NSUrl ExecutableUrl { get; }
[Export ("processIdentifier")]
int ProcessIdentifier { get; } /* pid_t = int */
[NullAllowed]
[Export ("launchDate", ArgumentSemantic.Copy)]
NSDate LaunchDate { get; }
[NullAllowed]
[Export ("icon", ArgumentSemantic.Strong)]
NSImage Icon { get; }

Просмотреть файл

@ -380,7 +380,6 @@
!missing-null-allowed! 'AppKit.NSImage AppKit.NSBrowserCell::get_BranchImage()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSBrowserCell::get_HighlightedBranchImage()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSImageDelegate::ImageDidNotDraw(Foundation.NSObject,CoreGraphics.CGRect)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSRunningApplication::get_Icon()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSSegmentedCell::GetImageForSegment(System.IntPtr)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSSegmentedControl::GetImage(System.IntPtr)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSSharingService::get_AlternateImage()' is missing an [NullAllowed] on return type
@ -553,7 +552,6 @@
!missing-null-allowed! 'Foundation.NSData Foundation.NSAttributedString::GetDocFormat(Foundation.NSRange,Foundation.NSDictionary)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSData Foundation.NSAttributedString::GetRtf(Foundation.NSRange,Foundation.NSDictionary)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSData Foundation.NSAttributedString::GetRtfd(Foundation.NSRange,Foundation.NSDictionary)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSDate AppKit.NSRunningApplication::get_LaunchDate()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSDictionary AppKit.NSCollectionViewLayoutInvalidationContext::get_InvalidatedDecorationIndexPaths()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSDictionary AppKit.NSCollectionViewLayoutInvalidationContext::get_InvalidatedSupplementaryIndexPaths()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSDictionary AppKit.NSDocument::FileAttributesToWrite(Foundation.NSUrl,System.String,AppKit.NSSaveOperationType,Foundation.NSUrl,Foundation.NSError&)' is missing an [NullAllowed] on return type
@ -645,8 +643,6 @@
!missing-null-allowed! 'Foundation.NSUndoManager AppKit.NSWindowDelegate::WillReturnUndoManager(AppKit.NSWindow)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSDocument::get_BackupFileUrl()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSPathControlItem::get_Url()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSRunningApplication::get_BundleUrl()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSRunningApplication::get_ExecutableUrl()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSSavePanel::get_Url()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSSharingService::get_PermanentLink()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSWorkspace::DesktopImageUrl(AppKit.NSScreen)' is missing an [NullAllowed] on return type
@ -734,8 +730,6 @@
!missing-null-allowed! 'System.String AppKit.NSPopUpButton::get_TitleOfSelectedItem()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSPopUpButtonCell::get_TitleOfSelectedItem()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSPrintInfo::get_LocalizedPaperName()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSRunningApplication::get_BundleIdentifier()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSRunningApplication::get_LocalizedName()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSSegmentedCell::GetLabel(System.IntPtr)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSSegmentedControl::GetLabel(System.IntPtr)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSSharingService::get_AccountName()' is missing an [NullAllowed] on return type

Просмотреть файл

@ -458,7 +458,6 @@
!missing-null-allowed! 'AppKit.NSImage AppKit.NSBrowserCell::get_BranchImage()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSBrowserCell::get_HighlightedBranchImage()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSImageDelegate::ImageDidNotDraw(Foundation.NSObject,CoreGraphics.CGRect)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSRunningApplication::get_Icon()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSSegmentedCell::GetImageForSegment(System.nint)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSSegmentedControl::GetImage(System.nint)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'AppKit.NSImage AppKit.NSSharingService::get_AlternateImage()' is missing an [NullAllowed] on return type
@ -632,7 +631,6 @@
!missing-null-allowed! 'Foundation.NSData Foundation.NSAttributedString::GetDocFormat(Foundation.NSRange,Foundation.NSDictionary)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSData Foundation.NSAttributedString::GetRtf(Foundation.NSRange,Foundation.NSDictionary)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSData Foundation.NSAttributedString::GetRtfd(Foundation.NSRange,Foundation.NSDictionary)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSDate AppKit.NSRunningApplication::get_LaunchDate()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSDictionary AppKit.NSCollectionViewLayoutInvalidationContext::get_InvalidatedDecorationIndexPaths()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSDictionary AppKit.NSCollectionViewLayoutInvalidationContext::get_InvalidatedSupplementaryIndexPaths()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSDictionary AppKit.NSDocument::FileAttributesToWrite(Foundation.NSUrl,System.String,AppKit.NSSaveOperationType,Foundation.NSUrl,Foundation.NSError&)' is missing an [NullAllowed] on return type
@ -724,8 +722,6 @@
!missing-null-allowed! 'Foundation.NSUndoManager AppKit.NSWindowDelegate::WillReturnUndoManager(AppKit.NSWindow)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSDocument::get_BackupFileUrl()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSPathControlItem::get_Url()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSRunningApplication::get_BundleUrl()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSRunningApplication::get_ExecutableUrl()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSSavePanel::get_Url()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSSharingService::get_PermanentLink()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'Foundation.NSUrl AppKit.NSWorkspace::DesktopImageUrl(AppKit.NSScreen)' is missing an [NullAllowed] on return type
@ -813,8 +809,6 @@
!missing-null-allowed! 'System.String AppKit.NSPopUpButton::get_TitleOfSelectedItem()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSPopUpButtonCell::get_TitleOfSelectedItem()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSPrintInfo::get_LocalizedPaperName()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSRunningApplication::get_BundleIdentifier()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSRunningApplication::get_LocalizedName()' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSSegmentedCell::GetLabel(System.nint)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSSegmentedControl::GetLabel(System.nint)' is missing an [NullAllowed] on return type
!missing-null-allowed! 'System.String AppKit.NSSharingService::get_AccountName()' is missing an [NullAllowed] on return type