From b465da4dddddb08c9edf86ad68b43e5b15ab180a Mon Sep 17 00:00:00 2001
From: Radek Zikmund <32671551+rzikm@users.noreply.github.com>
Date: Wed, 21 Aug 2024 13:44:31 +0200
Subject: [PATCH 1/4] Mention DateTimeKind unspecified in DateOnly.ToDateTime
(#10285)
* Mention DateTimeKind unspecified in DateOnly.ToDateTime
* Update xml/System/DateOnly.xml
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
---------
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
---
xml/System/DateOnly.xml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/xml/System/DateOnly.xml b/xml/System/DateOnly.xml
index 83bb99dbbde..5b1ccdab80a 100644
--- a/xml/System/DateOnly.xml
+++ b/xml/System/DateOnly.xml
@@ -1431,7 +1431,15 @@
The time of the day.
Returns a that is set to the date of this instance and the time of specified input time.
The instance composed of the date of the current instance and the time specified by the input time.
- To be added.
+
+ property of the resulting is initialized to .
+
+]]>
+
From 0b86bf485b1cc312ff60e7a39562a51768bfb3e6 Mon Sep 17 00:00:00 2001
From: Radek Zikmund <32671551+rzikm@users.noreply.github.com>
Date: Wed, 21 Aug 2024 17:06:05 +0200
Subject: [PATCH 2/4] Fix links to native winapi docs in SafeHandle (#10283)
---
xml/System.Runtime.InteropServices/SafeHandle.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xml/System.Runtime.InteropServices/SafeHandle.xml b/xml/System.Runtime.InteropServices/SafeHandle.xml
index 43f337bd301..a89a27c1af0 100644
--- a/xml/System.Runtime.InteropServices/SafeHandle.xml
+++ b/xml/System.Runtime.InteropServices/SafeHandle.xml
@@ -101,7 +101,7 @@ Optionally specify `-Fault` to intentionally attempt to leak the handle by abort
]]>
- To create a class derived from , you must know how to create and free an operating system handle. This process is different for different handle types because some use the [CloseHandle](/windows/win32/api/handleapi/nf-handleapi-closehandle) function, while others use more specific functions such as [UnmapViewOfFile](/windows/win32/api/memoryapi/nf-memoryapi-unmapviewoffile) or [FindClose](/windows/win32/api/fileapi/nf-fileapi-findclose). For this reason, you must create a derived class of for each operating system handle type that you want to wrap in a safe handle.
+ To create a class derived from , you must know how to create and free an operating system handle. This process is different for different handle types because some use the CloseHandle function, while others use more specific functions such as UnmapViewOfFile or FindClose. For this reason, you must create a derived class of for each operating system handle type that you want to wrap in a safe handle.
When you inherit from , you must override the following members: and .
You should also provide a public parameterless constructor that calls the base constructor with a value that represents an invalid handle value, and a value indicating whether the native handle is owned by the and consequently should be freed when that has been disposed.
From fd49e8b39cc7098180c82e314425b1b0a1a22c0f Mon Sep 17 00:00:00 2001
From: Radek Zikmund <32671551+rzikm@users.noreply.github.com>
Date: Wed, 21 Aug 2024 17:15:49 +0200
Subject: [PATCH 3/4] Fix typo in KeyConveter ctor sumary (#10286)
---
xml/System.Windows.Input/KeyConverter.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xml/System.Windows.Input/KeyConverter.xml b/xml/System.Windows.Input/KeyConverter.xml
index be942dd17ca..ddf51316fe6 100644
--- a/xml/System.Windows.Input/KeyConverter.xml
+++ b/xml/System.Windows.Input/KeyConverter.xml
@@ -56,7 +56,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
To be added.
From 409b2f1e149f8ba5bb9f16bdb6be81eb196c0836 Mon Sep 17 00:00:00 2001
From: Radek Zikmund <32671551+rzikm@users.noreply.github.com>
Date: Wed, 21 Aug 2024 17:16:21 +0200
Subject: [PATCH 4/4] Remove reference to nonexisting parameter in
PipeReader.CopyToAsync summary (#10287)
---
xml/System.IO.Pipelines/PipeReader.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xml/System.IO.Pipelines/PipeReader.xml b/xml/System.IO.Pipelines/PipeReader.xml
index 1cd98ba1530..e6110925da7 100644
--- a/xml/System.IO.Pipelines/PipeReader.xml
+++ b/xml/System.IO.Pipelines/PipeReader.xml
@@ -296,7 +296,7 @@ The canceled
The pipe writer to which the contents of the current stream will be copied.
The token to monitor for cancellation requests. The default value is .
- Asynchronously reads the bytes from the and writes them to the specified , using a specified buffer size and cancellation token.
+ Asynchronously reads the bytes from the and writes them to the specified , using a specified cancellation token.
A task that represents the asynchronous copy operation.
To be added.
The cancellation token was canceled. This exception is stored into the returned task.