Skip to content

Commit 25741d7

Browse files
Merge pull request #10296 from dotnet/main
Merge main into live
2 parents cb67974 + 409b2f1 commit 25741d7

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

xml/System.IO.Pipelines/PipeReader.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ The canceled <xref:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.Can
296296
<Docs>
297297
<param name="destination">The pipe writer to which the contents of the current stream will be copied.</param>
298298
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
299-
<summary>Asynchronously reads the bytes from the <see cref="T:System.IO.Pipelines.PipeReader" /> and writes them to the specified <see cref="T:System.IO.Pipelines.PipeWriter" />, using a specified buffer size and cancellation token.</summary>
299+
<summary>Asynchronously reads the bytes from the <see cref="T:System.IO.Pipelines.PipeReader" /> and writes them to the specified <see cref="T:System.IO.Pipelines.PipeWriter" />, using a specified cancellation token.</summary>
300300
<returns>A task that represents the asynchronous copy operation.</returns>
301301
<remarks>To be added.</remarks>
302302
<exception cref="T:System.OperationCanceledException">The cancellation token was canceled. This exception is stored into the returned task.</exception>

xml/System.Runtime.InteropServices/SafeHandle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Optionally specify `-Fault` to intentionally attempt to leak the handle by abort
101101
]]></format>
102102
</example>
103103
<block subset="none" type="overrides">
104-
<para>To create a class derived from <see cref="T:System.Runtime.InteropServices.SafeHandle" />, 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 <see cref="T:System.Runtime.InteropServices.SafeHandle" /> for each operating system handle type that you want to wrap in a safe handle.</para>
104+
<para>To create a class derived from <see cref="T:System.Runtime.InteropServices.SafeHandle" />, you must know how to create and free an operating system handle. This process is different for different handle types because some use the <see href="/windows/win32/api/handleapi/nf-handleapi-closehandle">CloseHandle</see> function, while others use more specific functions such as <see href="/windows/win32/api/memoryapi/nf-memoryapi-unmapviewoffile">UnmapViewOfFile</see> or <see href="/windows/win32/api/fileapi/nf-fileapi-findclose">FindClose</see>. For this reason, you must create a derived class of <see cref="T:System.Runtime.InteropServices.SafeHandle" /> for each operating system handle type that you want to wrap in a safe handle.</para>
105105
<para>When you inherit from <see cref="T:System.Runtime.InteropServices.SafeHandle" />, you must override the following members: <see cref="P:System.Runtime.InteropServices.SafeHandle.IsInvalid" /> and <see cref="M:System.Runtime.InteropServices.SafeHandle.ReleaseHandle" />.</para>
106106
<para>You should also provide a public parameterless constructor that calls the base constructor with a value that represents an invalid handle value, and a <see cref="T:System.Boolean" /> value indicating whether the native handle is owned by the <see cref="T:System.Runtime.InteropServices.SafeHandle" /> and consequently should be freed when that <see cref="T:System.Runtime.InteropServices.SafeHandle" /> has been disposed.</para>
107107
</block>

xml/System.Windows.Input/KeyConverter.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</Attributes>
5757
<Parameters />
5858
<Docs>
59-
<summary>Initializes a new instance of the <see cref="T:System.Windows.Input.Key" /> class.</summary>
59+
<summary>Initializes a new instance of the <see cref="T:System.Windows.Input.KeyConverter" /> class.</summary>
6060
<remarks>To be added.</remarks>
6161
</Docs>
6262
</Member>

xml/System/DateOnly.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,15 @@
14311431
<param name="time">The time of the day.</param>
14321432
<summary>Returns a <see cref="T:System.DateTime" /> that is set to the date of this <see cref="T:System.DateOnly" /> instance and the time of specified input time.</summary>
14331433
<returns>The <see cref="T:System.DateTime" /> instance composed of the date of the current <see cref="T:System.DateOnly" /> instance and the time specified by the input time.</returns>
1434-
<remarks>To be added.</remarks>
1434+
<remarks>
1435+
<format type="text/markdown"><![CDATA[
1436+
1437+
## Remarks
1438+
1439+
The <xref:System.DateTime.Kind> property of the resulting <xref:System.DateTime> is initialized to <xref:System.DateTimeKind.Unspecified?displayProperty=nameWithType>.
1440+
1441+
]]></format>
1442+
</remarks>
14351443
</Docs>
14361444
</Member>
14371445
<Member MemberName="ToDateTime">

0 commit comments

Comments
 (0)