Skip to content

Commit 78a2a8a

Browse files
nschonniRon Petrusha
authored andcommitted
Typos system t (#2218)
* typo: Double word "Unicode" * typo: lettters -> letters * typo: exeeds -> exceeds * typo: braket -> bracket * typo: intstance -> instance * typo: seconed -> second * typo: cancellecd -> cancelled * typo: intial -> initial * typo: re-entrancy -> reentrancy * typo: examing -> examining * typo: alread -> already * typo: exeucting -> executing * typo: ofthreads -> of threads * typo: Millseconds -> Milliseconds * typo: inteface -> interface * typo: ther -> the * typo: passsed -> passed * typo: proptery -> property * typo: Infomation -> Information * typo: maanger -> manager * typo: mutilple -> multiple * typo: volatitle -> volatile * typo: Transction -> Transaction * typo: Transation -> Transaction * typo: whichis -> which is * typo: propertyis -> property is * typo: headerset -> header set * typo: Iime -> Time * typo: currentapplication -> current application * typo: valueto -> value to * typo: mechanismto -> mechanism to * typo: Compatility -> Compatibility * typo: Customersthat -> Customers that * typo: deployement -> deployment * typo: Iephone -> Iphone * typo: imlemented -> implemented * typo: ommited -> omitted * typo: ControID -> ControlID * typo: Overriden -> Overridden * typo: repleacable -> replaceable * typo: indicats -> indicates * typo: respresents -> represents * typo: touse -> to use * typo: followig -> following * typo: objectcontaining -> object containing * typo: specifing -> specifying * typo: thetwo -> the two * typo: indicatethatvalues -> indicate that values * typo: indicatevalues -> indicate values * typo: retrive -> retrieve * typo: existance -> existence * typo: Similarily -> Similarly * typo: parameteris -> parameter is * typo: Sevice -> Service * typo: Descritpion -> Description * typo: serivce -> service * typo: tothe -> to the * typo: classverifies -> class verifies * typo: decription -> decryption * typo: attribut -> attribute * typo: Iinitializes -> Initializes * typo: clss -> class * typo: HMTL -> HTML * typo: XTHML -> XHTML * typo: HTMLelements -> HTML elements * typo: scriptdependencies -> script dependencies * typo: Lable -> Label * typo: overriden -> overridden * typo: tthat -> that * typo: definitionsfound -> definitions found * typo: Formate -> Format * typo: serializaable -> serializable * typo: inwhich -> in which * typo: backround -> background * typo: browers -> broswers * typo: clien -> client * typo: hadler -> handler * typo: Qerying -> Querying * typo: Inavariant -> Invariant * typo: thatare -> that are * typo: Hjiri -> Hijri * typo: Cateogry -> Category * typo: Querable -> Queryable * typo: Closinging -> Closing * typo: ASCI -> ASCII * typo: initiatedthe -> initiated the * typo: cale -> scale * Apply suggestions from code review Co-Authored-By: nschonni <[email protected]> * Apply suggestions from code review Co-Authored-By: nschonni <[email protected]> * Apply suggestions from code review Co-Authored-By: nschonni <[email protected]>
1 parent e06be80 commit 78a2a8a

File tree

83 files changed

+121
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+121
-121
lines changed

xml/System.Net.Sockets/UdpClient.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
<Parameter Name="localEP" Type="System.Net.IPEndPoint" />
228228
</Parameters>
229229
<Docs>
230-
<param name="localEP">An <see cref="T:System.Net.IPEndPoint" /> that respresents the local endpoint to which you bind the UDP connection.</param>
230+
<param name="localEP">An <see cref="T:System.Net.IPEndPoint" /> that represents the local endpoint to which you bind the UDP connection.</param>
231231
<summary>Initializes a new instance of the <see cref="T:System.Net.Sockets.UdpClient" /> class and binds it to the specified local endpoint.</summary>
232232
<remarks>
233233
<format type="text/markdown"><![CDATA[

xml/System.Text.RegularExpressions/Regex.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ On .NET Core, calls to the `Regex.CompileToAssembly` method throw a <xref:System
11941194
> [!NOTE]
11951195
> If a regular expression pattern includes either the number sign (#) or literal white-space characters, they must be escaped if input text is parsed with the <xref:System.Text.RegularExpressions.RegexOptions.IgnorePatternWhitespace?displayProperty=nameWithType> option enabled.
11961196
1197-
While the <xref:System.Text.RegularExpressions.Regex.Escape%2A> method escapes the straight opening bracket ([) and opening brace ({) characters, it does not escape their corresponding closing characters (] and }). In most cases, escaping these is not necessary. If a closing bracket or brace is not preceded by its corresponding opening character, the regular expression engine interprets it literally. If an opening braket or brace is interpreted as a metacharacter, the regular expression engine interprets the first corresponding closing character as a metacharacter. If this is not the desired behavior, the closing bracket or brace should be escaped by explicitly prepending the backslash (\\) character. For an illustration, see the Example section.
1197+
While the <xref:System.Text.RegularExpressions.Regex.Escape%2A> method escapes the straight opening bracket ([) and opening brace ({) characters, it does not escape their corresponding closing characters (] and }). In most cases, escaping these is not necessary. If a closing bracket or brace is not preceded by its corresponding opening character, the regular expression engine interprets it literally. If an opening bracket or brace is interpreted as a metacharacter, the regular expression engine interprets the first corresponding closing character as a metacharacter. If this is not the desired behavior, the closing bracket or brace should be escaped by explicitly prepending the backslash (\\) character. For an illustration, see the Example section.
11981198
11991199
12001200
@@ -2340,7 +2340,7 @@ Allows an <see cref="T:System.Object" /> to attempt to free resources and perfor
23402340
23412341
This method returns the first substring found at or after the `startat` character position in `input` that matches the regular expression pattern. You can retrieve subsequent matches by repeatedly calling the returned <xref:System.Text.RegularExpressions.Match> object's <xref:System.Text.RegularExpressions.Match.NextMatch%2A?displayProperty=nameWithType> method. You can also retrieve all matches in a single method call by calling the <xref:System.Text.RegularExpressions.Regex.Matches%28System.String%2CSystem.Int32%29?displayProperty=nameWithType> method.
23422342
2343-
The <xref:System.Text.RegularExpressions.RegexMatchTimeoutException> exception is thrown if the execution time of the matching operation exceeds the time-out interval specified by the <xref:System.Text.RegularExpressions.Regex.%23ctor%28System.String%2CSystem.Text.RegularExpressions.RegexOptions%2CSystem.TimeSpan%29?displayProperty=nameWithType> constructor. If you do not set a time-out interval when you call the constructor, the exception is thrown if the operation exeeds any time-out value established for the application domain in which the <xref:System.Text.RegularExpressions.Regex> object is created. If no time-out is defined in the <xref:System.Text.RegularExpressions.Regex> constructor call or in the application domain's properties, or if the time-out value is <xref:System.Text.RegularExpressions.Regex.InfiniteMatchTimeout?displayProperty=nameWithType>, no exception is thrown.
2343+
The <xref:System.Text.RegularExpressions.RegexMatchTimeoutException> exception is thrown if the execution time of the matching operation exceeds the time-out interval specified by the <xref:System.Text.RegularExpressions.Regex.%23ctor%28System.String%2CSystem.Text.RegularExpressions.RegexOptions%2CSystem.TimeSpan%29?displayProperty=nameWithType> constructor. If you do not set a time-out interval when you call the constructor, the exception is thrown if the operation exceeds any time-out value established for the application domain in which the <xref:System.Text.RegularExpressions.Regex> object is created. If no time-out is defined in the <xref:System.Text.RegularExpressions.Regex> constructor call or in the application domain's properties, or if the time-out value is <xref:System.Text.RegularExpressions.Regex.InfiniteMatchTimeout?displayProperty=nameWithType>, no exception is thrown.
23442344
23452345
]]></format>
23462346
</remarks>
@@ -3646,7 +3646,7 @@ Allows an <see cref="T:System.Object" /> to attempt to free resources and perfor
36463646
|`(?i:" + Environment.MachineName + ")`|Perform a case-insensitive match of the string that is returned by the <xref:System.Environment.MachineName%2A?displayProperty=nameWithType> property.|
36473647
|`(?:\.\w+)*`|Match the period (`.`) character followed by one or more word characters. This match can occur zero or more times. The matched subexpression is not captured.|
36483648
|`\\`|Match a backslash (`\`) character.|
3649-
|`((?i:[" + driveNames + "]))`|Perform a case-insensitive match of the character class that consists of the individual drive lettters. This match is the first captured subexpression.|
3649+
|`((?i:[" + driveNames + "]))`|Perform a case-insensitive match of the character class that consists of the individual drive letters. This match is the first captured subexpression.|
36503650
|`\$`|Match the literal dollar sign (`$`) character.|
36513651
36523652
The replacement pattern `$1` replaces the entire match with the first captured subexpression. That is, it replaces the UNC machine and drive name with the drive letter.

xml/System.Text/UTF32Encoding.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
<see langword="true" /> to use the big endian byte order (most significant byte first), or <see langword="false" /> to use the little endian byte order (least significant byte first).</param>
205205
<param name="byteOrderMark">
206206
<see langword="true" /> to specify that a Unicode byte order mark is provided; otherwise, <see langword="false" />.</param>
207-
<summary>Initializes a new instance of the <see cref="T:System.Text.UTF32Encoding" /> class. Parameters specify whether to use the big endian byte order and whether the <see cref="M:System.Text.UTF32Encoding.GetPreamble" /> method returns a Unicode Unicode byte order mark.</summary>
207+
<summary>Initializes a new instance of the <see cref="T:System.Text.UTF32Encoding" /> class. Parameters specify whether to use the big endian byte order and whether the <see cref="M:System.Text.UTF32Encoding.GetPreamble" /> method returns a Unicode byte order mark.</summary>
208208
<remarks>
209209
<format type="text/markdown"><![CDATA[
210210

xml/System.Threading.Tasks/Task.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2201,7 +2201,7 @@ End Sub
22012201
]]></format>
22022202
</remarks>
22032203
<exception cref="T:System.ArgumentOutOfRangeException">
2204-
<paramref name="delay" /> represents a negative time interval other than <see langword="TimeSpan.FromMillseconds(-1)" />.
2204+
<paramref name="delay" /> represents a negative time interval other than <see langword="TimeSpan.FromMilliseconds(-1)" />.
22052205

22062206
-or-
22072207

@@ -2338,7 +2338,7 @@ Task t Status: RanToCompletion, Result: 42
23382338
]]></format>
23392339
</remarks>
23402340
<exception cref="T:System.ArgumentOutOfRangeException">
2341-
<paramref name="delay" /> represents a negative time interval other than <see langword="TimeSpan.FromMillseconds(-1)" />.
2341+
<paramref name="delay" /> represents a negative time interval other than <see langword="TimeSpan.FromMilliseconds(-1)" />.
23422342

23432343
-or-
23442344

xml/System.Threading.Tasks/TaskScheduler.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
8080
<a name="Inlining"></a>
8181
### Task inlining
82-
In some cases when a <xref:System.Threading.Tasks.Task> is waited on, it may be executed synchronously on the thread that is performing the wait operation. This enhances performance by preventing the need for an additional thread and instead using the existing thread, which would have blocked otherwise. To prevent errors due to re-entrancy, task inlining only occurs when the wait target is found in the relevant thread's local queue.
82+
In some cases when a <xref:System.Threading.Tasks.Task> is waited on, it may be executed synchronously on the thread that is performing the wait operation. This enhances performance by preventing the need for an additional thread and instead using the existing thread, which would have blocked otherwise. To prevent errors due to reentrancy, task inlining only occurs when the wait target is found in the relevant thread's local queue.
8383
8484
<a name="Sync"></a>
8585
## Specifying a synchronization context

xml/System.Threading.Tasks/ValueTask`1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ As such, the default choice for any asynchronous method should be to return a <x
594594
</Parameters>
595595
<Docs>
596596
<param name="left">The first value to compare.</param>
597-
<param name="right">The seconed value to compare.</param>
597+
<param name="right">The second value to compare.</param>
598598
<summary>Determines whether two <see cref="T:System.Threading.Tasks.ValueTask`1" /> values are unequal.</summary>
599599
<returns>
600600
<see langword="true" /> if the two <see cref="T:System.Threading.Tasks.ValueTask`1" /> values are not equal; otherwise, <see langword="false" />.</returns>
@@ -663,7 +663,7 @@ As such, the default choice for any asynchronous method should be to return a <x
663663
## Remarks
664664
If this <xref:System.Threading.Tasks.ValueTask%601> wraps a successful result, this property returns it directly.
665665
666-
If it wraps a <xref:System.Threading.Tasks.Task%601>, the behavior of <xref:System.Threading.Tasks.ValueTask%601.Result%2A> is similar to the behavior of accessing <xref:System.Threading.Tasks.Task%601.Result%2A> on the wrapped task: if the task hasn't completed, accessing the property blocks the calling thread until it completes; if the task has completed successfully, the property returns the result; if the task has faulted or was cancellecd, accessing the property throws an exception. The thrown exception is not wrapped in an <xref:System.AggregateException>, which is different from the behavior of <xref:System.Threading.Tasks.Task%601.Result%2A> in the same situation.
666+
If it wraps a <xref:System.Threading.Tasks.Task%601>, the behavior of <xref:System.Threading.Tasks.ValueTask%601.Result%2A> is similar to the behavior of accessing <xref:System.Threading.Tasks.Task%601.Result%2A> on the wrapped task: if the task hasn't completed, accessing the property blocks the calling thread until it completes; if the task has completed successfully, the property returns the result; if the task has faulted or was cancelled, accessing the property throws an exception. The thrown exception is not wrapped in an <xref:System.AggregateException>, which is different from the behavior of <xref:System.Threading.Tasks.Task%601.Result%2A> in the same situation.
667667
668668
]]></format>
669669
</remarks>

xml/System.Threading/CancellationToken.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
## Remarks
162162
If <xref:System.Threading.CancellationToken.CanBeCanceled%2A> returns `false`, it is guaranteed that the token will never transition into a canceled state, meaning that <xref:System.Threading.CancellationToken.IsCancellationRequested%2A> will never return `true`. A cancellation token that cannot be canceled is returned by the static <xref:System.Threading.CancellationToken.None%2A?displayProperty=nameWithType> property.
163163
164-
You can optionally use this property to determine whether a cancellation token can be canceled before examing the value of the <xref:System.Threading.CancellationToken.IsCancellationRequested%2A> property to determine whether it has been canceled.
164+
You can optionally use this property to determine whether a cancellation token can be canceled before examining the value of the <xref:System.Threading.CancellationToken.IsCancellationRequested%2A> property to determine whether it has been canceled.
165165
166166
]]></format>
167167
</remarks>

xml/System.Threading/CountdownEvent.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@
514514
515515
]]></format>
516516
</remarks>
517-
<exception cref="T:System.ObjectDisposedException">The current instance has alread been disposed.</exception>
517+
<exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
518518
<exception cref="T:System.ArgumentOutOfRangeException">
519519
<paramref name="count" /> is less than 0.</exception>
520520
<related type="Article" href="https://msdn.microsoft.com/library/eec3812a-e20f-4ecd-bfef-6921d508b708">CountdownEvent</related>

xml/System.Threading/ManualResetEventSlim.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
</Parameters>
134134
<Docs>
135135
<param name="initialState">true to set the initial state signaled; false to set the initial state to nonsignaled.</param>
136-
<summary>Initializes a new instance of the <see cref="T:System.Threading.ManualResetEventSlim" /> class with a Boolean value indicating whether to set the intial state to signaled.</summary>
136+
<summary>Initializes a new instance of the <see cref="T:System.Threading.ManualResetEventSlim" /> class with a Boolean value indicating whether to set the initial state to signaled.</summary>
137137
<remarks>To be added.</remarks>
138138
<related type="Article" href="~/docs/standard/threading/overview-of-synchronization-primitives.md">Overview of synchronization primitives</related>
139139
</Docs>
@@ -170,7 +170,7 @@
170170
<Docs>
171171
<param name="initialState">true to set the initial state to signaled; false to set the initial state to nonsignaled.</param>
172172
<param name="spinCount">The number of spin waits that will occur before falling back to a kernel-based wait operation.</param>
173-
<summary>Initializes a new instance of the <see cref="T:System.Threading.ManualResetEventSlim" /> class with a Boolean value indicating whether to set the intial state to signaled and a specified spin count.</summary>
173+
<summary>Initializes a new instance of the <see cref="T:System.Threading.ManualResetEventSlim" /> class with a Boolean value indicating whether to set the initial state to signaled and a specified spin count.</summary>
174174
<remarks>To be added.</remarks>
175175
<exception cref="T:System.ArgumentOutOfRangeException">
176176
<paramref name="spinCount" /> is less than 0 or greater than the maximum allowed value.</exception>

xml/System.Threading/ThreadPool.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@
603603
<typeparam name="TState">The type of elements of <paramref name="state" />.</typeparam>
604604
<param name="callBack">An <see cref="T:System.Action`1" /> representing the method to execute.</param>
605605
<param name="state">An object containing data to be used by the method.</param>
606-
<param name="preferLocal">Unlike other QueueUserWorkItem methods, prefer exeucting in the local thread pool and not the global thread pool.</param>
606+
<param name="preferLocal">Unlike other QueueUserWorkItem methods, prefer executing in the local thread pool and not the global thread pool.</param>
607607
<summary>Queues a method specified by an <see cref="T:System.Action`1" /> delegate for execution, and provides data to be used by the method. The method executes when a thread pool thread becomes available.</summary>
608608
<returns>
609609
<see langword="true" /> if the method is successfully queued; <see cref="T:System.NotSupportedException" /> is thrown if the work item could not be queued.
@@ -1085,7 +1085,7 @@
10851085
If you specify a negative number or a number larger than the maximum number of active thread pool threads (obtained using <xref:System.Threading.ThreadPool.GetMaxThreads%2A>), <xref:System.Threading.ThreadPool.SetMinThreads%2A> returns `false` and does not change either of the minimum values.
10861086
10871087
> [!CAUTION]
1088-
> By default, the minimum number of threads is set to the number of processors on a system. You can use the <xref:System.Threading.ThreadPool.SetMinThreads%2A> method to increase the minimum number ofthreads. However, unnecessarily increasing these values can cause performance problems. If too many tasks start at the same time, all of them might appear to be slow. In most cases, the thread pool will perform better with its own algorithm for allocating threads. Reducing the minimum to less than the number of processors can also hurt performance.
1088+
> By default, the minimum number of threads is set to the number of processors on a system. You can use the <xref:System.Threading.ThreadPool.SetMinThreads%2A> method to increase the minimum number of threads. However, unnecessarily increasing these values can cause performance problems. If too many tasks start at the same time, all of them might appear to be slow. In most cases, the thread pool will perform better with its own algorithm for allocating threads. Reducing the minimum to less than the number of processors can also hurt performance.
10891089
10901090
10911091

0 commit comments

Comments
 (0)