diff --git a/src/CoreGraphics/CGContextPDF.cs b/src/CoreGraphics/CGContextPDF.cs
index af10c41c841e..721d2ab5cd30 100644
--- a/src/CoreGraphics/CGContextPDF.cs
+++ b/src/CoreGraphics/CGContextPDF.cs
@@ -414,21 +414,29 @@ public void SetDestination (string name, CGRect rect)
[DllImport (Constants.CoreGraphicsLibrary)]
static extern void CGPDFContextBeginTag (/* CGContextRef* */ IntPtr context, CGPdfTagType tagType, /* CFDictionaryRef* _Nullable */ IntPtr tagProperties);
+ /// Opens a tagged content sequence of the specified in the PDF context.
+ /// The type of the tag to open.
+ /// A dictionary of properties for the tag, or if there are none.
+ /// Every call to BeginTag must be balanced by a matching call to .
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("maccatalyst")]
- public void BeginTag (CGPdfTagType tagType, NSDictionary tagProperties)
+ public void BeginTag (CGPdfTagType tagType, NSDictionary? tagProperties)
{
CGPDFContextBeginTag (Handle, tagType, tagProperties.GetHandle ());
GC.KeepAlive (tagProperties);
}
+ /// Opens a tagged content sequence of the specified in the PDF context.
+ /// The type of the tag to open.
+ /// The properties for the tag, or if there are none.
+ /// Every call to BeginTag must be balanced by a matching call to .
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("tvos13.0")]
[SupportedOSPlatform ("maccatalyst")]
- public void BeginTag (CGPdfTagType tagType, CGPdfTagProperties tagProperties)
+ public void BeginTag (CGPdfTagType tagType, CGPdfTagProperties? tagProperties)
{
var d = tagProperties?.Dictionary;
CGPDFContextBeginTag (Handle, tagType, d.GetHandle ());
diff --git a/src/CoreImage/CIContext.cs b/src/CoreImage/CIContext.cs
index d0f845579dab..8e27dd19b554 100644
--- a/src/CoreImage/CIContext.cs
+++ b/src/CoreImage/CIContext.cs
@@ -72,14 +72,13 @@ public int? CIImageFormat {
}
public partial class CIContext {
- /// The context options to use.
- /// Creates a new Core Image context with the specified .
- /// To be added.
+ /// Creates a new Core Image context with the specified .
+ /// The context options to use, or to use the default options.
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("macos")]
[SupportedOSPlatform ("tvos")]
- public CIContext (CIContextOptions options) :
+ public CIContext (CIContextOptions? options) :
this (options?.Dictionary)
{
}
diff --git a/src/CoreImage/CIImage.cs b/src/CoreImage/CIImage.cs
index f26d20d4ec9d..e6cd5579bb1a 100644
--- a/src/CoreImage/CIImage.cs
+++ b/src/CoreImage/CIImage.cs
@@ -281,26 +281,27 @@ public static CIImage FromData (NSData bitmapData, nint bytesPerRow, CGSize size
return FromData (bitmapData, bytesPerRow, size, CIImage.CIFormatToInt (pixelFormat), colorSpace);
}
- /// Creates a from an image provider with the specified dimensions, pixel format, and color space.
- /// The image data provider.
- /// The width of the image in pixels.
- /// The height of the image in pixels.
- /// The pixel format of the image data.
- /// The color space for the resulting image.
- /// Options that configure the image creation.
- public static CIImage FromProvider (ICIImageProvider provider, nuint width, nuint height, CIFormat pixelFormat, CGColorSpace colorSpace, CIImageProviderOptions options)
+ /// Creates a new image that lazily obtains its data from the specified .
+ /// The provider that supplies the image data on demand.
+ /// The width of the image, in pixels.
+ /// The height of the image, in pixels.
+ /// The pixel format of the image data supplied by .
+ /// The color space of the image.
+ /// Options that control how the image is created, or to use the default options.
+ /// A new backed by .
+ public static CIImage FromProvider (ICIImageProvider provider, nuint width, nuint height, CIFormat pixelFormat, CGColorSpace colorSpace, CIImageProviderOptions? options)
{
return FromProvider (provider, width, height, CIImage.CIFormatToInt (pixelFormat), colorSpace, options?.Dictionary);
}
- /// Initializes a new from an image provider with the specified dimensions, pixel format, and color space.
- /// The image data provider.
- /// The width of the image in pixels.
- /// The height of the image in pixels.
- /// The pixel format of the image data.
- /// The color space for the resulting image.
- /// Options that configure the image creation.
- public CIImage (ICIImageProvider provider, nuint width, nuint height, CIFormat pixelFormat, CGColorSpace colorSpace, CIImageProviderOptions options)
+ /// Creates a new image that lazily obtains its data from the specified .
+ /// The provider that supplies the image data on demand.
+ /// The width of the image, in pixels.
+ /// The height of the image, in pixels.
+ /// The pixel format of the image data supplied by .
+ /// The color space of the image.
+ /// Options that control how the image is created, or to use the default options.
+ public CIImage (ICIImageProvider provider, nuint width, nuint height, CIFormat pixelFormat, CGColorSpace colorSpace, CIImageProviderOptions? options)
: this (provider, width, height, CIImage.CIFormatToInt (pixelFormat), colorSpace, options?.Dictionary)
{
}
diff --git a/src/UserNotifications/UNNotificationAttachment.cs b/src/UserNotifications/UNNotificationAttachment.cs
index 287871aee3bb..da4ad7f61a59 100644
--- a/src/UserNotifications/UNNotificationAttachment.cs
+++ b/src/UserNotifications/UNNotificationAttachment.cs
@@ -14,14 +14,13 @@
namespace UserNotifications {
public partial class UNNotificationAttachment {
- /// To be added.
- /// To be added.
- /// To be added.
- /// To be added.
- /// To be added.
- /// To be added.
- /// To be added.
- public static UNNotificationAttachment? FromIdentifier (string identifier, NSUrl url, UNNotificationAttachmentOptions attachmentOptions, out NSError? error)
+ /// Creates a new attachment for a notification from the file at the specified .
+ /// The unique identifier for the attachment, or an empty string to have one generated automatically.
+ /// The URL of the file to attach.
+ /// Options that describe how the attachment should be handled, or to use the default options.
+ /// On failure, contains the error that describes why the attachment could not be created.
+ /// A new , or if the attachment could not be created.
+ public static UNNotificationAttachment? FromIdentifier (string identifier, NSUrl url, UNNotificationAttachmentOptions? attachmentOptions, out NSError? error)
{
return FromIdentifier (identifier, url, attachmentOptions?.Dictionary, out error);
}
diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt
index 6a4362c230af..d25aeb19a279 100644
--- a/tests/cecil-tests/Documentation.KnownFailures.txt
+++ b/tests/cecil-tests/Documentation.KnownFailures.txt
@@ -10317,8 +10317,6 @@ M:CoreGraphics.CGContext.ShowTextAtPoint(System.Runtime.InteropServices.NFloat,S
M:CoreGraphics.CGContext.ShowTextAtPoint(System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat,System.String)
M:CoreGraphics.CGContext.StrokeRectWithWidth(CoreGraphics.CGRect,System.Runtime.InteropServices.NFloat)
M:CoreGraphics.CGContext.TranslateCTM(System.Runtime.InteropServices.NFloat,System.Runtime.InteropServices.NFloat)
-M:CoreGraphics.CGContextPDF.BeginTag(CoreGraphics.CGPdfTagType,CoreGraphics.CGPdfTagProperties)
-M:CoreGraphics.CGContextPDF.BeginTag(CoreGraphics.CGPdfTagType,Foundation.NSDictionary)
M:CoreGraphics.CGContextPDF.EndTag
M:CoreGraphics.CGContextPDF.SetIdTree(CoreGraphics.CGPDFDictionary)
M:CoreGraphics.CGContextPDF.SetPageTagStructureTree(Foundation.NSDictionary)