Skip to content

Commit 9f45920

Browse files
committed
Merge branch 'master' into publish-24538
2 parents b6b9d5f + 56d75d8 commit 9f45920

File tree

16 files changed

+87
-134
lines changed

16 files changed

+87
-134
lines changed

xml/System.Collections.Specialized/BitVector32+Section.xml

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -390,43 +390,7 @@
390390
<returns>
391391
<see langword="true" /> if the <paramref name="a" /> and <paramref name="b" /> parameters represent different <see cref="T:System.Collections.Specialized.BitVector32.Section" /> objects; otherwise, <see langword="false" />.</returns>
392392
<remarks>
393-
<format type="text/markdown"><![CDATA[The equivalent method for this operator is <xref:System.Collections.Specialized.BitVector32.Section.op_Equality*></format>
394-
</remarks>
395-
</Docs>
396-
</Member>
397-
<Member MemberName="ToString">
398-
<MemberSignature Language="C#" Value="public override string ToString ();" />
399-
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
400-
<MemberSignature Language="DocId" Value="M:System.Collections.Specialized.BitVector32.Section.ToString" />
401-
<MemberType>Method</MemberType>
402-
<AssemblyInfo>
403-
<AssemblyName>System.Collections.Specialized</AssemblyName>
404-
<AssemblyVersion>4.0.1.0</AssemblyVersion>
405-
<AssemblyVersion>4.1.0.0</AssemblyVersion>
406-
</AssemblyInfo>
407-
<AssemblyInfo>
408-
<AssemblyName>System</AssemblyName>
409-
<AssemblyVersion>2.0.5.0</AssemblyVersion>
410-
<AssemblyVersion>4.0.0.0</AssemblyVersion>
411-
</AssemblyInfo>
412-
<AssemblyInfo>
413-
<AssemblyName>netstandard</AssemblyName>
414-
<AssemblyVersion>2.0.0.0</AssemblyVersion>
415-
</AssemblyInfo>
416-
<ReturnValue>
417-
<ReturnType>System.String</ReturnType>
418-
</ReturnValue>
419-
<Parameters />
420-
<Docs>
421-
<summary>Returns a string that represents the current <see cref="T:System.Collections.Specialized.BitVector32.Section" />.</summary>
422-
<returns>A string that represents the current <see cref="T:System.Collections.Specialized.BitVector32.Section" />.</returns>
423-
<remarks>
424-
<format type="text/markdown"><![CDATA[
425-
426-
## Remarks
427-
This method overrides <xref:System.Object.ToString%2A?displayProperty=nameWithType>.
428-
429-
]]></format>
393+
<format type="text/markdown"><![CDATA[The equivalent method for this operator is <xref:System.Collections.Specialized.BitVector32.Section.op_Equality*>]]></format>
430394
</remarks>
431395
</Docs>
432396
</Member>

xml/System.Diagnostics/Process.xml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ The following code example creates a process that prints a file. It sets the <xr
16291629
<exception cref="T:System.ArgumentException">The <paramref name="machineName" /> parameter syntax is invalid. It might have length zero (0).</exception>
16301630
<exception cref="T:System.ArgumentNullException">The <paramref name="machineName" /> parameter is <see langword="null" />.</exception>
16311631
<exception cref="T:System.PlatformNotSupportedException">The operating system platform does not support this operation on remote computers.</exception>
1632-
<exception cref="T:System.InvalidOperationException">There are problems accessing the performance counter API's used to get process information. This exception is specific to Windows NT, Windows 2000, and Windows XP.</exception>
1632+
<exception cref="T:System.InvalidOperationException">There are problems accessing the performance counter APIs used to get process information. This exception is specific to Windows NT, Windows 2000, and Windows XP.</exception>
16331633
<exception cref="T:System.ComponentModel.Win32Exception">A problem occurred accessing an underlying system API.</exception>
16341634
<altmember cref="P:System.Diagnostics.Process.MachineName" />
16351635
<altmember cref="M:System.Diagnostics.Process.GetProcessById(System.Int32,System.String)" />
@@ -1711,7 +1711,7 @@ The following code example creates a process that prints a file. It sets the <xr
17111711

17121712
]]></format>
17131713
</remarks>
1714-
<exception cref="T:System.InvalidOperationException">There are problems accessing the performance counter API's used to get process information. This exception is specific to Windows NT, Windows 2000, and Windows XP.</exception>
1714+
<exception cref="T:System.InvalidOperationException">There are problems accessing the performance counter APIs used to get process information. This exception is specific to Windows NT, Windows 2000, and Windows XP.</exception>
17151715
<altmember cref="P:System.Diagnostics.Process.ProcessName" />
17161716
<altmember cref="M:System.Diagnostics.Process.GetProcessById(System.Int32,System.String)" />
17171717
<altmember cref="M:System.Diagnostics.Process.GetProcesses" />
@@ -1795,7 +1795,7 @@ The following code example creates a process that prints a file. It sets the <xr
17951795

17961796
-or-
17971797

1798-
There are problems accessing the performance counter API's used to get process information. This exception is specific to Windows NT, Windows 2000, and Windows XP.</exception>
1798+
There are problems accessing the performance counter APIs used to get process information. This exception is specific to Windows NT, Windows 2000, and Windows XP.</exception>
17991799
<exception cref="T:System.ComponentModel.Win32Exception">A problem occurred accessing an underlying system API.</exception>
18001800
<altmember cref="P:System.Diagnostics.Process.ProcessName" />
18011801
<altmember cref="P:System.Diagnostics.Process.MachineName" />
@@ -2228,9 +2228,9 @@ You cannot cause processes on remote computers to exit. You can only view inform
22282228
<exception cref="T:System.NotSupportedException">You are attempting to call <see cref="M:System.Diagnostics.Process.Kill" /> for a process that is running on a remote computer. The method is available only for processes running on the local computer.</exception>
22292229
<exception cref="T:System.InvalidOperationException">The process has already exited.
22302230

2231-
-or-
2232-
2233-
There is no process associated with this <see cref="T:System.Diagnostics.Process" /> object.
2231+
-or-
2232+
2233+
There is no process associated with this <see cref="T:System.Diagnostics.Process" /> object.
22342234

22352235
-or-
22362236

@@ -5367,9 +5367,7 @@ The file specified in the <paramref name="fileName" /> could not be found.
53675367

53685368
You should only access the <xref:System.Diagnostics.Process.StartInfo%2A> property on a <xref:System.Diagnostics.Process> object returned by the <xref:System.Diagnostics.Process.Start%2A> method. For example, you should not access the <xref:System.Diagnostics.Process.StartInfo%2A> property on a <xref:System.Diagnostics.Process> object returned by <xref:System.Diagnostics.Process.GetProcesses%2A>. Otherwise, on .NET Core the <xref:System.Diagnostics.Process.StartInfo%2A> property will throw an <xref:System.InvalidOperationException> and on .NET Framework it will return a dummy <xref:System.Diagnostics.ProcessStartInfo> object.
53695369

5370-
When the process is started, the file name is the file that populates the (read-only) <xref:System.Diagnostics.Process.MainModule%2A> property. If you want to retrieve the executable file that is associated with the process after the process has started, use the <xref:System.Diagnostics.Process.MainModule%2A> property. If you want to set the executable file of a <xref:System.Diagnostics.Process> instance for which an associated process has not been started, use the <xref:System.Diagnostics.Process.StartInfo%2A> property's <xref:System.Diagnostics.ProcessStartInfo.FileName%2A> member. Because the members of the <xref:System.Diagnostics.Process.StartInfo%2A> property are arguments that are passed to the <xref:System.Diagnostics.Process.Start%2A> method of a process, changing the <xref:System.Diagnostics.ProcessStartInfo.FileName%2A> property after the associated process has started will not reset the <xref:System.Diagnostics.Process.MainModule%2A> property. These properties are used only to initialize the associated process.
5371-
5372-
5370+
When the process is started, the file name is the file that populates the (read-only) <xref:System.Diagnostics.Process.MainModule%2A> property. If you want to retrieve the executable file that is associated with the process after the process has started, use the <xref:System.Diagnostics.Process.MainModule%2A> property. If you want to set the executable file of a <xref:System.Diagnostics.Process> instance for which an associated process has not been started, use the <xref:System.Diagnostics.Process.StartInfo%2A> property's <xref:System.Diagnostics.ProcessStartInfo.FileName%2A> member. Because the members of the <xref:System.Diagnostics.Process.StartInfo%2A> property are arguments that are passed to the <xref:System.Diagnostics.Process.Start%2A> method of a process, changing the <xref:System.Diagnostics.ProcessStartInfo.FileName%2A> property after the associated process has started will not reset the <xref:System.Diagnostics.Process.MainModule%2A> property. These properties are used only to initialize the associated process.
53735371

53745372
## Examples
53755373
The following example populates a <xref:System.Diagnostics.Process.StartInfo%2A> with the file to execute, the action performed on it and whether it should displays a user interface. For additional examples, refer to the reference pages for properties of the <xref:System.Diagnostics.ProcessStartInfo> class.
@@ -5381,7 +5379,7 @@ The file specified in the <paramref name="fileName" /> could not be found.
53815379
]]></format>
53825380
</remarks>
53835381
<exception cref="T:System.ArgumentNullException">The value that specifies the <see cref="P:System.Diagnostics.Process.StartInfo" /> is <see langword="null" />.</exception>
5384-
<exception cref="T:System.InvalidOperationException">The <see cref="M:System.Diagnostics.Process.Start" /> method was not used to start the process.</exception>
5382+
<exception cref="T:System.InvalidOperationException">.NET Core only: The <see cref="M:System.Diagnostics.Process.Start" /> method was not used to start the process.</exception>
53855383
<altmember cref="M:System.Diagnostics.Process.Start" />
53865384
<altmember cref="P:System.Diagnostics.ProcessStartInfo.FileName" />
53875385
</Docs>

xml/System.IO/DirectoryInfo.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,10 @@
221221
<format type="text/markdown"><![CDATA[
222222
223223
## Remarks
224+
224225
If the directory already exists, this method does nothing.
226+
227+
If the directory did not exist before calling this method, then any cached attribute information about the directory will be flushed if the creation is successful.
225228
226229
For a list of common I/O tasks, see [Common I/O Tasks](~/docs/standard/io/common-i-o-tasks.md).
227230

xml/System.IO/FileSystemInfo.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,8 +1285,7 @@ On Unix platforms that do not support creation or birth time, this property retu
12851285
12861286
## Remarks
12871287
`FileSystemInfo.Refresh` takes a snapshot of the file from the current file system. `Refresh` cannot correct the underlying file system even if the file system returns incorrect or outdated information. This can happen on platforms such as Windows 98.
1288-
1289-
Calls must be made to `Refresh` before attempting to get the attribute information, or the information will be outdated.
1288+
Calls must be made to `Refresh` before attempting to get the attribute information, or the information will be outdated.
12901289
12911290
]]></format>
12921291
</remarks>

xml/System/Byte.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@
147147
<altmember cref="T:System.IComparable" />
148148
<altmember cref="T:System.IFormattable" />
149149
<altmember cref="T:System.IConvertible" />
150-
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/winforms-formatting-utility-cs/">Sample: .NET Core WinForms Formatting Utility (C#)</related>
151-
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/winforms-formatting-utility-vb/">Sample: .NET Core WinForms Formatting Utility (Visual Basic)</related>
150+
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/windowsforms-formatting-utility-cs/">Sample: .NET Core WinForms Formatting Utility (C#)</related>
151+
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/windowsforms-formatting-utility-vb/">Sample: .NET Core WinForms Formatting Utility (Visual Basic)</related>
152152
</Docs>
153153
<Members>
154154
<MemberGroup MemberName="CompareTo">
@@ -2392,8 +2392,8 @@ This member is an explicit interface member implementation. It can be used only
23922392
<altmember cref="T:System.IFormatProvider" />
23932393
<related type="Article" href="~/docs/standard/base-types/formatting-types.md">Formatting Types in .NET</related>
23942394
<related type="Article" href="~/docs/standard/base-types/how-to-pad-a-number-with-leading-zeros.md">How to: Pad a Number with Leading Zeros</related>
2395-
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/winforms-formatting-utility-cs/">Sample: .NET Core WinForms Formatting Utility (C#)</related>
2396-
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/winforms-formatting-utility-vb/">Sample: .NET Core WinForms Formatting Utility (Visual Basic)</related>
2395+
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/windowsforms-formatting-utility-cs/">Sample: .NET Core WinForms Formatting Utility (C#)</related>
2396+
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/windowsforms-formatting-utility-vb/">Sample: .NET Core WinForms Formatting Utility (Visual Basic)</related>
23972397
</Docs>
23982398
</Member>
23992399
<Member MemberName="TryFormat">
@@ -2569,8 +2569,8 @@ This member is an explicit interface member implementation. It can be used only
25692569
25702570
]]></format>
25712571
</remarks>
2572-
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/winforms-formatting-utility-cs/">Sample: .NET Core WinForms Formatting Utility (C#)</related>
2573-
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/winforms-formatting-utility-vb/">Sample: .NET Core WinForms Formatting Utility (Visual Basic)</related>
2572+
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/windowsforms-formatting-utility-cs/">Sample: .NET Core WinForms Formatting Utility (C#)</related>
2573+
<related type="ExternalDocumentation" href="https://docs.microsoft.com/samples/dotnet/samples/windowsforms-formatting-utility-vb/">Sample: .NET Core WinForms Formatting Utility (Visual Basic)</related>
25742574
</Docs>
25752575
</Member>
25762576
<Member MemberName="TryParse">

xml/System/Char.xml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,14 @@ When a managed <xref:System.Char> type, which is represented as a Unicode UTF-16
15751575
- Modifiers, such as U+02B0 (MODIFIER LETTER SMALL H) through U+02C1 (MODIFIER LETTER REVERSED GLOTTAL STOP), or U+1D2C (MODIFIER LETTER CAPITAL A) through U+1D61 (MODIFIER LETTER SMALL CHI). These characters are members of the <xref:System.Globalization.UnicodeCategory.ModifierLetter?displayProperty=nameWithType> category.
15761576
15771577
- Other letters, such as U+05D0 (HEBREW LETTER ALEF) through U+05EA (HEBREW LETTER TAV), U+0621 (ARABIC LETTER HAMZA) through U+063A (ARABIC LETTER GHAIN), or U+4E00 (\<CJK Ideograph, First>) through U+9FC3 (\<CJK Ideograph, Last>). These characters are members of the <xref:System.Globalization.UnicodeCategory.OtherLetter?displayProperty=nameWithType> category.
1578-
1578+
1579+
## Examples
1580+
The following code example demonstrates <xref:System.Char.IsLetter%2A>.
1581+
1582+
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Char.IsLetter/CPP/isletter.cpp" id="Snippet5":::
1583+
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Char.IsLetter/CS/isletter.cs" interactive="try-dotnet" id="Snippet5":::
1584+
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetter/VB/isletter.vb" id="Snippet5":::
1585+
15791586
]]></format>
15801587
</remarks>
15811588
</Docs>
@@ -1638,15 +1645,6 @@ When a managed <xref:System.Char> type, which is represented as a Unicode UTF-16
16381645
16391646
- Other letters, such as U+05D0 (HEBREW LETTER ALEF) through U+05EA (HEBREW LETTER TAV), U+0621 (ARABIC LETTER HAMZA) through U+063A (ARABIC LETTER GHAIN), or U+4E00 (\<CJK Ideograph, First>) through U+9FC3 (\<CJK Ideograph, Last>). These characters are members of the <xref:System.Globalization.UnicodeCategory.OtherLetter?displayProperty=nameWithType> category.
16401647
1641-
1642-
1643-
## Examples
1644-
The following code example demonstrates <xref:System.Char.IsLetter%2A>.
1645-
1646-
[!code-cpp[System.Char.IsLetter#5](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Char.IsLetter/CPP/isletter.cpp#5)]
1647-
[!code-csharp[System.Char.IsLetter#5](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Char.IsLetter/CS/isletter.cs#5)]
1648-
[!code-vb[System.Char.IsLetter#5](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetter/VB/isletter.vb#5)]
1649-
16501648
]]></format>
16511649
</remarks>
16521650
<altmember cref="M:System.Text.Rune.IsLetter(System.Text.Rune)" />
@@ -1720,15 +1718,6 @@ When a managed <xref:System.Char> type, which is represented as a Unicode UTF-16
17201718
17211719
- Other letters, such as U+05D0 (HEBREW LETTER ALEF) through U+05EA (HEBREW LETTER TAV), U+0621 (ARABIC LETTER HAMZA) through U+063A (ARABIC LETTER GHAIN), or U+4E00 (\<CJK Ideograph, First>) through U+9FC3 (\<CJK Ideograph, Last>). These characters are members of the <xref:System.Globalization.UnicodeCategory.OtherLetter?displayProperty=nameWithType> category.
17221720
1723-
1724-
1725-
## Examples
1726-
The following code example demonstrates <xref:System.Char.IsLetter%2A>.
1727-
1728-
[!code-cpp[System.Char.IsLetter#5](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Char.IsLetter/CPP/isletter.cpp#5)]
1729-
[!code-csharp[System.Char.IsLetter#5](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Char.IsLetter/CS/isletter.cs#5)]
1730-
[!code-vb[System.Char.IsLetter#5](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetter/VB/isletter.vb#5)]
1731-
17321721
]]></format>
17331722
</remarks>
17341723
<exception cref="T:System.ArgumentNullException">

0 commit comments

Comments
 (0)