Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 00b5cf8

Browse files
authored
fix CDATA section (dotnet#2987)
1 parent 9abc42c commit 00b5cf8

File tree

5 files changed

+12
-23
lines changed

5 files changed

+12
-23
lines changed

xml/System.Diagnostics/DiagnosticListener.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
<Docs>
2929
<summary>Provides an implementation of the abstract <see cref="T:System.Diagnostics.DiagnosticSource" /> class that represents a named place to which a source sends its information (events).</summary>
3030
<remarks>
31-
<format type="text/markdown">
32-
<![CDATA[
31+
<format type="text/markdown"><![CDATA[
3332
3433
## Remarks
3534

xml/System.IO/WindowsRuntimeStorageExtensions.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,15 @@ The next example shows the XAML code that is associated with the previous exampl
6060
<Docs>
6161
<summary>Creates and returns a reference to a safe file handle for the IStorage instance that is being extended.</summary>
6262
<remarks>
63-
<format type="text/markdown">
64-
<![CDATA[
63+
<format type="text/markdown"><![CDATA[
6564
6665
## Remarks
6766
6867
With the Windows 10 Anniversary Update, new interfaces were added to <xref:Windows.Storage.IStorageFolder> and <xref:Windows.Storage.IStorageFile> that allow creating a standard Win32 file handle: `IStorageFolderHandleAccess` and `IStorageItemHandleAccess`. The `CreateSafeFileHandle` group of extension methods take advantage of the `Create` methods of these interfaces.
6968
7069
The key benefit of the API is access to a brokered `SafeFileHandle`. This is critically important if you want to create a <xref:System.IO.FileStream> around an <xref:Windows.Storage.IStorageItem> or <xref:Windows.Storage.IStorageFolder> when you are running in an [AppContainer](https://docs.microsoft.com/en-us/windows/win32/secauthz/appcontainer-isolation). When running in an AppContainer, the application has very limited file access rights. Things like picture and document folders require the native file handle to be proxied via `RuntimeBroker.exe`, as the application process itself doesn't have rights to most files. This API gets the proxied handle. If accessing user data folders or using a file picker, this API should always be used to create <xref:System.IO.FileStream>. Using a path will often throw <xref:System.AccessViolationException> in these cases.
7170
72-
]]>
73-
</format>
71+
]]></format>
7472
</remarks>
7573
</Docs>
7674
</MemberGroup>

xml/System.Numerics/Complex.xml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,8 +1639,7 @@ The addition of a complex number (a + bi) and a real number (which can be regard
16391639
<Docs>
16401640
<summary>Multiplies a specified number by another specified number, where at least one of them is a complex number, and the other could be a double-precision real number.</summary>
16411641
<remarks>
1642-
<format type="text/markdown">
1643-
<![CDATA[
1642+
<format type="text/markdown"><![CDATA[
16441643
16451644
## Remarks
16461645
@@ -1935,8 +1934,7 @@ ac + bci
19351934
<Docs>
19361935
<summary>Adds a specified number to another specified number, where at least one of them is a complex number, and the other could be a double-precision real number.</summary>
19371936
<remarks>
1938-
<format type="text/markdown">
1939-
<![CDATA[
1937+
<format type="text/markdown"><![CDATA[
19401938
19411939
## Remarks
19421940
@@ -2110,8 +2108,7 @@ Languages that do not support custom operators can call the <xref:System.Numeric
21102108
<Docs>
21112109
<summary>Divides a specified number by another specified number, where at least one of them is a complex number, and the other could be a double-precision real number.</summary>
21122110
<remarks>
2113-
<format type="text/markdown">
2114-
<![CDATA[
2111+
<format type="text/markdown"><![CDATA[
21152112
21162113
## Remarks
21172114
@@ -3041,8 +3038,7 @@ This API is not CLS-compliant.</summary>
30413038
<Docs>
30423039
<summary>Multiplies a specified number by another specified number, where at least one of them is a complex number, and the other could be a double-precision real number.</summary>
30433040
<remarks>
3044-
<format type="text/markdown">
3045-
<![CDATA[
3041+
<format type="text/markdown"><![CDATA[
30463042
30473043
## Remarks
30483044
@@ -3210,8 +3206,7 @@ Languages that do not support custom operators can call the <xref:System.Numeric
32103206
<Docs>
32113207
<summary>Subtracts a specified number from another specified number, where at least one of them is a complex number, and the other could be a double-precision real number.</summary>
32123208
<remarks>
3213-
<format type="text/markdown">
3214-
<![CDATA[
3209+
<format type="text/markdown"><![CDATA[
32153210
32163211
## Remarks
32173212
@@ -3851,8 +3846,7 @@ Languages that do not support custom operators can call the <xref:System.Numeric
38513846
<Docs>
38523847
<summary>Subtracts a specified number from another specified number, where at least one of them is a complex number, and the other could be a double-precision real number, and returns the result.</summary>
38533848
<remarks>
3854-
<format type="text/markdown">
3855-
<![CDATA[
3849+
<format type="text/markdown"><![CDATA[
38563850
38573851
## Remarks
38583852

xml/System.Reflection/MetadataAssemblyResolver.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@
5959
<summary>Returns an assembly from a given assembly name.</summary>
6060
<returns>The assembly for the provided <paramref name="assemblyName" />.</returns>
6161
<remarks>
62-
<format type="text/markdown">
63-
<![CDATA[
62+
<format type="text/markdown"><![CDATA[
6463
6564
## Remarks
6665

xml/System.Reflection/PathAssemblyResolver.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
<Docs>
1717
<summary>Represents a metadata assembly resolver that uses paths to every assembly that may be loaded.</summary>
1818
<remarks>
19-
<format type="text/markdown">
20-
<![CDATA[
19+
<format type="text/markdown"><![CDATA[
2120
2221
## Remarks
2322
@@ -85,7 +84,7 @@ In order for an <xref:System.Reflection.AssemblyName> to match a loaded assembly
8584
8685
## Remarks
8786
88-
See the <xref:System.Reflection.MetadataAssemblyResolver> remarks for more information.
87+
For more information, see the <xref:System.Reflection.MetadataAssemblyResolver> remarks.
8988
9089
]]></format>
9190
</remarks>

0 commit comments

Comments
 (0)