Skip to content

Commit 8248cc2

Browse files
committed
delete code example text from obsolete types
1 parent a33f8fb commit 8248cc2

Some content is hidden

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

52 files changed

+1901
-3792
lines changed

xml/System.Security.Authentication/CipherAlgorithmType.xml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,17 @@
4949
<Docs>
5050
<summary>Defines the possible cipher algorithms for the <see cref="T:System.Net.Security.SslStream" /> class.</summary>
5151
<remarks>
52-
<format type="text/markdown"><![CDATA[
53-
54-
## Remarks
55-
This enumeration specifies valid values for the <xref:System.Net.Security.SslStream.CipherAlgorithm?displayProperty=nameWithType> property.
56-
57-
58-
59-
## Examples
60-
The following example displays the properties of an <xref:System.Net.Security.SslStream>.
61-
52+
<format type="text/markdown"><![CDATA[
53+
54+
## Remarks
55+
This enumeration specifies valid values for the <xref:System.Net.Security.SslStream.CipherAlgorithm?displayProperty=nameWithType> property.
56+
57+
## Examples
58+
The following example displays the properties of an <xref:System.Net.Security.SslStream>.
59+
6260
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/NclSslClientAsync/CPP/NclSslClientAsync.cpp" id="Snippet3":::
63-
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/LocalCertificateSelectionCallback/Overview/clientasync.cs" id="Snippet3":::
64-
61+
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/LocalCertificateSelectionCallback/Overview/clientasync.cs" id="Snippet3":::
62+
6563
]]></format>
6664
</remarks>
6765
<altmember cref="T:System.Net.Security.SslStream" />

xml/System.Security.Authentication/ExchangeAlgorithmType.xml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,17 @@
4949
<Docs>
5050
<summary>Specifies the algorithm used to create keys shared by the client and server.</summary>
5151
<remarks>
52-
<format type="text/markdown"><![CDATA[
53-
54-
## Remarks
55-
This enumeration specifies valid values for the <xref:System.Net.Security.SslStream.KeyExchangeAlgorithm%2A?displayProperty=nameWithType> property.
56-
57-
58-
59-
## Examples
60-
The following example displays the properties of an <xref:System.Net.Security.SslStream>.
61-
52+
<format type="text/markdown"><![CDATA[
53+
54+
## Remarks
55+
This enumeration specifies valid values for the <xref:System.Net.Security.SslStream.KeyExchangeAlgorithm%2A?displayProperty=nameWithType> property.
56+
57+
## Examples
58+
The following example displays the properties of an <xref:System.Net.Security.SslStream>.
59+
6260
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/NclSslClientAsync/CPP/NclSslClientAsync.cpp" id="Snippet3":::
63-
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/LocalCertificateSelectionCallback/Overview/clientasync.cs" id="Snippet3":::
64-
61+
:::code language="csharp" source="~/snippets/csharp/System.Net.Security/LocalCertificateSelectionCallback/Overview/clientasync.cs" id="Snippet3":::
62+
6563
]]></format>
6664
</remarks>
6765
<altmember cref="P:System.Net.Security.SslStream.KeyExchangeStrength" />

xml/System.Security.Authentication/HashAlgorithmType.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
## Remarks
5555
This enumeration specifies valid values for the <xref:System.Net.Security.SslStream.HashAlgorithm%2A?displayProperty=nameWithType> property.
5656
57-
58-
5957
## Examples
6058
The following example displays the properties of an <xref:System.Net.Security.SslStream> after authentication has succeeded.
6159

xml/System.Security.Permissions/CodeAccessSecurityAttribute.xml

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -91,25 +91,18 @@
9191
<Docs>
9292
<summary>Specifies the base attribute class for code access security.</summary>
9393
<remarks>
94-
<format type="text/markdown"><![CDATA[
95-
94+
<format type="text/markdown"><![CDATA[
95+
9696
## Remarks
9797
9898
[!INCLUDE[cas-deprecated](~/includes/cas-deprecated.md)]
9999
100-
This attribute class associates a <xref:System.Security.Permissions.SecurityAction>, for example, `Demand`, with a custom security attribute.
101-
102-
The types that derive from <xref:System.Security.Permissions.CodeAccessSecurityAttribute> are used to help restrict access to resources or securable operations.
103-
100+
This attribute class associates a <xref:System.Security.Permissions.SecurityAction>, for example, `Demand`, with a custom security attribute.
101+
102+
The types that derive from <xref:System.Security.Permissions.CodeAccessSecurityAttribute> are used to help restrict access to resources or securable operations.
103+
104104
The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. Use the corresponding permission class derived from <xref:System.Security.CodeAccessPermission> for imperative security.
105-
106-
## Examples
107-
The following example shows a permission attribute derived from the <xref:System.Security.Permissions.CodeAccessSecurityAttribute> class.
108-
109-
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.CodeAccessSecurityAttribute/CPP/nameidpermissionattribute.cpp" id="Snippet1":::
110-
:::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/CodeAccessSecurityAttribute/Overview/nameidpermissionattribute.cs" id="Snippet1":::
111-
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.CodeAccessSecurityAttribute/VB/nameidpermissionattribute.vb" id="Snippet1":::
112-
105+
113106
]]></format>
114107
</remarks>
115108
<block subset="none" type="overrides">
@@ -172,11 +165,11 @@
172165
<param name="action">One of the <see cref="T:System.Security.Permissions.SecurityAction" /> values.</param>
173166
<summary>Initializes a new instance of <see cref="T:System.Security.Permissions.CodeAccessSecurityAttribute" /> with the specified <see cref="T:System.Security.Permissions.SecurityAction" />.</summary>
174167
<remarks>
175-
<format type="text/markdown"><![CDATA[
176-
177-
## Remarks
178-
You cannot create an instance of this class. You must inherit from this class to make use of its functionality.
179-
168+
<format type="text/markdown"><![CDATA[
169+
170+
## Remarks
171+
You cannot create an instance of this class. You must inherit from this class to make use of its functionality.
172+
180173
]]></format>
181174
</remarks>
182175
<block subset="none" type="overrides">

0 commit comments

Comments
 (0)