Skip to content

Commit 0d14150

Browse files
nschonniBillWagner
authored andcommitted
typo: Elemeent -> Element (dotnet#2149)
* typo: Elemeent -> Element * typo: follllows -> follows * typo: occurrrence -> occurrence * typo: specxified -> specified * typo: aninteger -> an integer * typo: exampledemonstrates -> example demonstrates
1 parent 784c5b0 commit 0d14150

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

xml/System.Globalization/CompareInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
]]></format>
8484
</remarks>
8585
<related type="ExternalDocumentation" href="https://www.microsoft.com/en-us/download/details.aspx?id=10921">Sorting Weight Tables for Windows operating systems</related>
86-
<related type="ExternalDocumentation" href="https://www.unicode.org/Public/UCA/latest/allkeys.txt">Default Unicode Collation Elemeent Table, for Linux and macOS</related>
86+
<related type="ExternalDocumentation" href="https://www.unicode.org/Public/UCA/latest/allkeys.txt">Default Unicode Collation Element Table, for Linux and macOS</related>
8787
</Docs>
8888
<Members>
8989
<MemberGroup MemberName="Compare">

xml/System.Globalization/StringInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ This example uses the <xref:System.Globalization.StringInfo.GetTextElementEnumer
8686
<para>Internally, the methods of the <see cref="T:System.Globalization.StringInfo" /> class call the methods of the <see cref="T:System.Globalization.CharUnicodeInfo" /> class to determine character categories. Starting with the .NET Framework 4.6.2, character classification is based on [The Unicode Standard, Version 8.0.0](https://unicode.org/versions/Unicode8.0.0). For the .NET Framework 4 through the .NET Framework 4.6.1, it is based on [The Unicode Standard, Version 6.3.0](https://www.unicode.org/versions/Unicode6.3.0/). In .NET Core, it is based on [The Unicode Standard, Version 8.0.0](https://unicode.org/versions/Unicode8.0.0).</para>
8787
</block>
8888
<related type="ExternalDocumentation" href="https://www.microsoft.com/en-us/download/details.aspx?id=10921">Sorting Weight Tables for Windows operating systems</related>
89-
<related type="ExternalDocumentation" href="https://www.unicode.org/Public/UCA/latest/allkeys.txt">Default Unicode Collation Elemeent Table, for Linux and macOS</related>
89+
<related type="ExternalDocumentation" href="https://www.unicode.org/Public/UCA/latest/allkeys.txt">Default Unicode Collation Element Table, for Linux and macOS</related>
9090
</Docs>
9191
<Members>
9292
<MemberGroup MemberName=".ctor">

xml/System.Runtime.InteropServices/SafeBuffer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
154154
<xref:System.Runtime.InteropServices.SafeBuffer.AcquirePointer%2A> calls the <xref:System.Runtime.InteropServices.SafeHandle.DangerousAddRef%2A?displayProperty=nameWithType> method and exposes the pointer. Unlike the <xref:System.Runtime.InteropServices.SafeBuffer.Read%2A> method, it does not change the current position of the pointer.
155155
156-
The following exampledemonstrates how to use the <xref:System.Runtime.InteropServices.SafeBuffer.AcquirePointer%2A> method:
156+
The following example demonstrates how to use the <xref:System.Runtime.InteropServices.SafeBuffer.AcquirePointer%2A> method:
157157
158158
```
159159
byte* pointer = null;

xml/System/Convert.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8640,7 +8640,7 @@
86408640
<format type="text/markdown"><![CDATA[
86418641

86428642
## Examples
8643-
The following example attempts to convert each element in an array of <xref:System.Double> values to aninteger.
8643+
The following example attempts to convert each element in an array of <xref:System.Double> values to an integer.
86448644

86458645
[!code-csharp[System.Convert.ToInt32#5](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.convert.toint32/cs/toint32_1.cs#5)]
86468646
[!code-vb[System.Convert.ToInt32#5](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb#5)]

xml/System/String.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ You can download the [Sorting Weight Tables](https://www.microsoft.com/en-us/dow
531531
]]></format>
532532
</remarks>
533533
<related type="ExternalDocumentation" href="https://www.microsoft.com/en-us/download/details.aspx?id=10921">Sorting Weight Tables for Windows operating systems</related>
534-
<related type="ExternalDocumentation" href="https://www.unicode.org/Public/UCA/latest/allkeys.txt">Default Unicode Collation Elemeent Table, for Linux and macOS</related>
534+
<related type="ExternalDocumentation" href="https://www.unicode.org/Public/UCA/latest/allkeys.txt">Default Unicode Collation Element Table, for Linux and macOS</related>
535535
<threadsafe>This type is thread safe.</threadsafe>
536536
<altmember cref="T:System.IComparable" />
537537
<altmember cref="T:System.ICloneable" />
@@ -2389,7 +2389,7 @@ You can download the [Sorting Weight Tables](https://www.microsoft.com/en-us/dow
23892389

23902390
</description></item><item><term> Greater than zero
23912391

2392-
</term><description> The substring in <paramref name="strA" /> follllows the substring in <paramref name="strB" /> in the sort order.
2392+
</term><description> The substring in <paramref name="strA" /> follows the substring in <paramref name="strB" /> in the sort order.
23932393

23942394
</description></item></list></returns>
23952395
<remarks>
@@ -6631,7 +6631,7 @@ String 'This is a string.' in domain 'NewDomain': 75CC8236
66316631
<Docs>
66326632
<param name="value">The character to seek.</param>
66336633
<param name="comparisonType">An enumeration value that specifies the rules for the search.</param>
6634-
<summary>Reports the zero-based index of the first occurrrence of the specxified Unicode character in this string. A parameter specifies the type of search to use for the specified character.</summary>
6634+
<summary>Reports the zero-based index of the first occurrence of the specified Unicode character in this string. A parameter specifies the type of search to use for the specified character.</summary>
66356635
<returns>The zero-based index of <paramref name="value" /> if that character is found, or -1 if it is not.</returns>
66366636
<remarks>
66376637
<format type="text/markdown"><![CDATA[
@@ -7035,7 +7035,7 @@ The `comparisonType` parameter is a <xref:System.StringComparison> enumeration m
70357035

70367036

70377037
## Examples
7038-
The following exampledemonstrates three overloads of the <xref:System.String.IndexOf%2A> method that find the first occurrence of a string within another string using different values of the <xref:System.StringComparison> enumeration.
7038+
The following example demonstrates three overloads of the <xref:System.String.IndexOf%2A> method that find the first occurrence of a string within another string using different values of the <xref:System.StringComparison> enumeration.
70397039

70407040
[!code-csharp[system.string.IndexOfCmp#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.string.IndexOfCmp/cs/iocmp.cs#1)]
70417041
[!code-vb[system.string.IndexOfCmp#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.string.IndexOfCmp/vb/iocmp.vb#1)]
@@ -7119,7 +7119,7 @@ The `comparisonType` parameter is a <xref:System.StringComparison> enumeration m
71197119

71207120

71217121
## Examples
7122-
The following exampledemonstrates three overloads of the <xref:System.String.IndexOf%2A> method that find the first occurrence of a string within another string using different values of the <xref:System.StringComparison> enumeration.
7122+
The following example demonstrates three overloads of the <xref:System.String.IndexOf%2A> method that find the first occurrence of a string within another string using different values of the <xref:System.StringComparison> enumeration.
71237123

71247124
[!code-csharp[system.string.IndexOfCmp#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.string.IndexOfCmp/cs/iocmp.cs#1)]
71257125
[!code-vb[system.string.IndexOfCmp#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.string.IndexOfCmp/vb/iocmp.vb#1)]
@@ -8845,7 +8845,7 @@ A string is empty if it is explicitly assigned an empty string ("") or <xref:Sy
88458845

88468846

88478847
## Examples
8848-
The following exampledemonstrates three overloads of the <xref:System.String.LastIndexOf%2A> method that find the last occurrence of a string within another string using different values of the <xref:System.StringComparison> enumeration.
8848+
The following example demonstrates three overloads of the <xref:System.String.LastIndexOf%2A> method that find the last occurrence of a string within another string using different values of the <xref:System.StringComparison> enumeration.
88498849

88508850
[!code-csharp[system.string.LastIndexOfCmp#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/cs/liocmp.cs#1)]
88518851
[!code-vb[system.string.LastIndexOfCmp#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/vb/liocmp.vb#1)]
@@ -9101,7 +9101,7 @@ A string is empty if it is explicitly assigned an empty string ("") or <xref:Sy
91019101

91029102

91039103
## Examples
9104-
The following exampledemonstrates three overloads of the <xref:System.String.LastIndexOf%2A> method that find the last occurrence of a string within another string using different values of the <xref:System.StringComparison> enumeration.
9104+
The following example demonstrates three overloads of the <xref:System.String.LastIndexOf%2A> method that find the last occurrence of a string within another string using different values of the <xref:System.StringComparison> enumeration.
91059105

91069106
[!code-csharp[system.string.LastIndexOfCmp#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/cs/liocmp.cs#1)]
91079107
[!code-vb[system.string.LastIndexOfCmp#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/vb/liocmp.vb#1)]
@@ -9188,7 +9188,7 @@ A string is empty if it is explicitly assigned an empty string ("") or <xref:Sy
91889188

91899189

91909190
## Examples
9191-
The following exampledemonstrates three overloads of the <xref:System.String.LastIndexOf%2A> method that find the last occurrence of a string within another string using different values of the <xref:System.StringComparison> enumeration.
9191+
The following example demonstrates three overloads of the <xref:System.String.LastIndexOf%2A> method that find the last occurrence of a string within another string using different values of the <xref:System.StringComparison> enumeration.
91929192

91939193
[!code-csharp[system.string.LastIndexOfCmp#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/cs/liocmp.cs#1)]
91949194
[!code-vb[system.string.LastIndexOfCmp#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/vb/liocmp.vb#1)]

0 commit comments

Comments
 (0)