From 171b95cfafbb0d3594910531cf8acccb256be8f4 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Tue, 3 Oct 2023 16:50:11 -0700 Subject: [PATCH 1/3] op canceled exceptions --- .../StringSegment.xml | 8 +++----- xml/System.Threading.Tasks/Task.xml | 12 ++++++------ 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/xml/Microsoft.Extensions.Primitives/StringSegment.xml b/xml/Microsoft.Extensions.Primitives/StringSegment.xml index d2e503d65e2..c3810a65257 100644 --- a/xml/Microsoft.Extensions.Primitives/StringSegment.xml +++ b/xml/Microsoft.Extensions.Primitives/StringSegment.xml @@ -315,12 +315,10 @@ System.String - Gets the buffer for this . - The buffer for this . + Gets the value of this segment as a string. + The string buffer for this segment. To be added. - Gets the value of this segment as a . - The value of this segment as a . @@ -723,7 +721,7 @@ Returns the hash code for this instance. A 32-bit signed integer that is the hash code for this instance. The returned hash code is suitable for use in hashing algorithms and data structures, for example, a hash table. - + This method is expensive since it allocates on every call. However, the allocation is required to retain any behavior (such as hash code randomization) that has. diff --git a/xml/System.Threading.Tasks/Task.xml b/xml/System.Threading.Tasks/Task.xml index feaaa01e326..8c5fc09f3c2 100644 --- a/xml/System.Threading.Tasks/Task.xml +++ b/xml/System.Threading.Tasks/Task.xml @@ -2826,7 +2826,7 @@ End Sub ]]> The argument is less than -1. - The task has been canceled. + The task has been canceled. This exception is stored into the returned task. The provided has already been disposed. @@ -2911,7 +2911,7 @@ Task t Status: RanToCompletion, Result: 42 -or- The argument's property is greater than 4294967294 on .NET 6 and later versions, or Int32.MaxValue on all previous versions. - The task has been canceled. + The task has been canceled. This exception is stored into the returned task. The provided has already been disposed. @@ -4121,7 +4121,7 @@ This method is intended for compiler use rather than use directly in code. ]]> The parameter was . - The task has been canceled. + The task has been canceled. This exception is stored into the returned task. The associated with was disposed. Exception Handling (Task Parallel Library) @@ -4188,7 +4188,7 @@ This method is intended for compiler use rather than use directly in code. ]]> The parameter was . - The task has been canceled. + The task has been canceled. This exception is stored into the returned task. The associated with was disposed. Task Cancellation Exception Handling (Task Parallel Library) @@ -4426,7 +4426,7 @@ This method is intended for compiler use rather than use directly in code. ]]> The parameter was . - The task has been canceled. + The task has been canceled. This exception is stored into the returned task. The associated with was disposed. Task Cancellation Exception Handling (Task Parallel Library) @@ -4524,7 +4524,7 @@ This method is intended for compiler use rather than use directly in code. ]]> The parameter is . - The task has been canceled. + The task has been canceled. This exception is stored into the returned task. The associated with was disposed. Task Cancellation Exception Handling (Task Parallel Library) From 1ea1fe850afbec277b8105ed46dcc82d2311907d Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Tue, 3 Oct 2023 16:56:24 -0700 Subject: [PATCH 2/3] reset --- xml/Microsoft.Extensions.Primitives/StringSegment.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xml/Microsoft.Extensions.Primitives/StringSegment.xml b/xml/Microsoft.Extensions.Primitives/StringSegment.xml index c3810a65257..d2e503d65e2 100644 --- a/xml/Microsoft.Extensions.Primitives/StringSegment.xml +++ b/xml/Microsoft.Extensions.Primitives/StringSegment.xml @@ -315,10 +315,12 @@ System.String - Gets the value of this segment as a string. - The string buffer for this segment. + Gets the buffer for this . + The buffer for this . To be added. + Gets the value of this segment as a . + The value of this segment as a . @@ -721,7 +723,7 @@ Returns the hash code for this instance. A 32-bit signed integer that is the hash code for this instance. The returned hash code is suitable for use in hashing algorithms and data structures, for example, a hash table. - + This method is expensive since it allocates on every call. However, the allocation is required to retain any behavior (such as hash code randomization) that has. From a361350d4d32f4dbc79105bae6ad01f9eb421c7a Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Tue, 3 Oct 2023 17:06:27 -0700 Subject: [PATCH 3/3] fix namespace --- xml/System.Threading.Tasks/Task.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xml/System.Threading.Tasks/Task.xml b/xml/System.Threading.Tasks/Task.xml index 8c5fc09f3c2..44ff80e7f71 100644 --- a/xml/System.Threading.Tasks/Task.xml +++ b/xml/System.Threading.Tasks/Task.xml @@ -2826,7 +2826,7 @@ End Sub ]]> The argument is less than -1. - The task has been canceled. This exception is stored into the returned task. + The task has been canceled. This exception is stored into the returned task. The provided has already been disposed. @@ -2911,7 +2911,7 @@ Task t Status: RanToCompletion, Result: 42 -or- The argument's property is greater than 4294967294 on .NET 6 and later versions, or Int32.MaxValue on all previous versions. - The task has been canceled. This exception is stored into the returned task. + The task has been canceled. This exception is stored into the returned task. The provided has already been disposed. @@ -4121,7 +4121,7 @@ This method is intended for compiler use rather than use directly in code. ]]> The parameter was . - The task has been canceled. This exception is stored into the returned task. + The task has been canceled. This exception is stored into the returned task. The associated with was disposed. Exception Handling (Task Parallel Library) @@ -4188,7 +4188,7 @@ This method is intended for compiler use rather than use directly in code. ]]> The parameter was . - The task has been canceled. This exception is stored into the returned task. + The task has been canceled. This exception is stored into the returned task. The associated with was disposed. Task Cancellation Exception Handling (Task Parallel Library) @@ -4426,7 +4426,7 @@ This method is intended for compiler use rather than use directly in code. ]]> The parameter was . - The task has been canceled. This exception is stored into the returned task. + The task has been canceled. This exception is stored into the returned task. The associated with was disposed. Task Cancellation Exception Handling (Task Parallel Library) @@ -4524,7 +4524,7 @@ This method is intended for compiler use rather than use directly in code. ]]> The parameter is . - The task has been canceled. This exception is stored into the returned task. + The task has been canceled. This exception is stored into the returned task. The associated with was disposed. Task Cancellation Exception Handling (Task Parallel Library)