Skip to content

Commit 657807b

Browse files
authored
Fix up crefs/xrefs (#9754)
1 parent 608537c commit 657807b

File tree

20 files changed

+87
-95
lines changed

20 files changed

+87
-95
lines changed

xml/System.Diagnostics/ActivityLink.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,7 @@ Activity links can be used to represent batched operations where an activity was
202202
<remarks>
203203
<format type="text/markdown"><![CDATA[
204204
205-
## Remarks
206-
207-
<xref:System.Diagnostics.ActivityLink> equality is currently undefined. The current behavior is that two <xref:System.Diagnostics.ActivityLink> instances with the same <xref:System.Diagnostics.ActivityContext> and no tags will return `true` for <xref:System.Diagnostics.ActivityLink.Equals(System.Object)>. Prior to .NET 7, xref:System.Diagnostics.ActivityLink> instances sharing an <xref:System.Diagnostics.ActivityTagsCollection> instance and the same <xref:System.Diagnostics.ActivityContext> would return `true` for <xref:System.Diagnostics.ActivityLink.Equals(System.Object)>. Starting from .NET 7, <xref:System.Diagnostics.ActivityLink.Equals(System.Object)> will always return `false` when tags are used. This may change in the future. Exercise caution in calling this method.
205+
<xref:System.Diagnostics.ActivityLink> equality is currently undefined. The current behavior is that two <xref:System.Diagnostics.ActivityLink> instances with the same <xref:System.Diagnostics.ActivityContext> and no tags will return `true` for <xref:System.Diagnostics.ActivityLink.Equals(System.Object)>. Prior to .NET 7, <xref:System.Diagnostics.ActivityLink> instances sharing an <xref:System.Diagnostics.ActivityTagsCollection> instance and the same <xref:System.Diagnostics.ActivityContext> would return `true` for <xref:System.Diagnostics.ActivityLink.Equals(System.Object)>. Starting in .NET 7, <xref:System.Diagnostics.ActivityLink.Equals(System.Object)> always returns `false` when tags are used.
208206
209207
]]></format>
210208
</remarks>

xml/System.Drawing.Printing/PrintPageEventArgs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
:::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintPageEventArgs/Overview/source.cs" id="Snippet1":::
297297
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/VB/source.vb" id="Snippet1":::
298298
299-
For another example that shows how to use <xref:System.Drawing.Printing.PrintPageEventArgs.HasMorePages%2A>, see [How to: Print a Multi-Page Text File in Windows Forms](/dotnet/framework/winforms/advanced/how-to-print-a-multi-page-text-file-in-windows-forms)
299+
For another example that shows how to use <xref:System.Drawing.Printing.PrintPageEventArgs.HasMorePages%2A>, see [How to: Print a Multi-Page Text File in Windows Forms](/dotnet/framework/winforms/advanced/how-to-print-a-multi-page-text-file-in-windows-forms).
300300
301301
]]></format>
302302
</remarks>

xml/System.Net.Sockets/TcpClient.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ The `Available` property is a way to determine whether data is queued for readin
934934
> If you receive a <xref:System.Net.Sockets.SocketException>, use <xref:System.Net.Sockets.SocketException.ErrorCode%2A?displayProperty=nameWithType> to obtain the specific error code. After you have obtained this code, you can refer to the [Windows Sockets version 2 API error code](/windows/desktop/winsock/windows-sockets-error-codes-2) documentation for a detailed description of the error.
935935
936936
> [!NOTE]
937-
> This member outputs trace information when you enable network tracing in your application. For more information, see [Network Tracing in the .NET Framework](/dotnet/framework/network-programming/network-tracing)
937+
> This member outputs trace information when you enable network tracing in your application. For more information, see [Network Tracing in the .NET Framework](/dotnet/framework/network-programming/network-tracing).
938938
939939
> [!NOTE]
940940
> If you receive NotSupportedException with message `This protocol version is not supported` while using IPv6 address, then make sure you enabled IPv6 in constructor by passing <xref:System.Net.Sockets.AddressFamily.InterNetworkV6>.

xml/System.Net/HttpListener.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@
389389
390390
This method does not block while the operation completes. To get an incoming request and block until the operation completes, call the <xref:System.Net.HttpListener.GetContext%2A> method.
391391
392-
For detailed information about using the asynchronous programming model, see [Calling Synchronous Methods Asynchronously](/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously)
392+
For detailed information about using the asynchronous programming model, see [Calling Synchronous Methods Asynchronously](/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously).
393393
394394
395395
@@ -598,7 +598,7 @@ The following code example demonstrates calling the `Close` method:
598598
599599
Because calling the <xref:System.Net.HttpListener.EndGetContext%2A> method requires the <xref:System.Net.HttpListener> object, this object is typically passed into a callback method by using the state object passed into the <xref:System.Net.HttpListener.BeginGetContext%2A> method. You can obtain this state object by using the <xref:System.IAsyncResult.AsyncState%2A> property of the `asyncResult` object.
600600
601-
For detailed information about using the asynchronous programming model, see [Calling Synchronous Methods Asynchronously](/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously)
601+
For detailed information about using the asynchronous programming model, see [Calling Synchronous Methods Asynchronously](/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously).
602602
603603
604604

xml/System.Net/WebClient.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2849,7 +2849,7 @@ internal class MyWebClient : WebClientProtocol
28492849
## Remarks
28502850
Classes that inherit from this class can override this method to perform additional tasks when the <xref:System.Net.WebClient.DownloadDataCompleted> event occurs.
28512851

2852-
Raising an event invokes the event handler through a delegate. For more information, see [Handling and Raising Events](/dotnet/standard/events/)
2852+
Raising an event invokes the event handler through a delegate. For more information, see [Handling and Raising Events](/dotnet/standard/events/).
28532853

28542854
The <xref:System.Net.WebClient.OnDownloadDataCompleted%2A> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
28552855

xml/System.Runtime.Remoting/RemotingConfiguration.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
<format type="text/markdown"><![CDATA[
214214
215215
## Remarks
216-
Passing `null` as the `filename` parameter will cause default remoting initialization without requiring the existence of a configuration file. For more information about remoting and security see [Security in Remoting.](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/9hwst9th(v=vs.100))
216+
Passing `null` as the `filename` parameter will cause default remoting initialization without requiring the existence of a configuration file. For more information about remoting and security see [Security in Remoting.](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/9hwst9th(v=vs.100)).
217217
218218
For configuration file syntax, see [Remoting Settings Schema](https://msdn.microsoft.com/library/dc2d1e62-9af7-4ca1-99fd-98b93bb4db9e).
219219
@@ -879,7 +879,7 @@
879879
880880
To activate a client-activated object type with the `new` keyword, you must first register the object type on the client end using the <xref:System.Runtime.Remoting.RemotingConfiguration.RegisterActivatedClientType%2A> method. Calling the <xref:System.Runtime.Remoting.RemotingConfiguration.RegisterActivatedClientType%2A> method gives the remoting infrastructure the location of the remote application where `new` attempts to create it. If, on the other hand, you use the <xref:System.Activator.CreateInstance%2A?displayProperty=nameWithType> method to create a new instance of the client-activated object, you must supply the remote application's URL as a parameter, so no prior registration on the client end is necessary. To supply the <xref:System.Activator.CreateInstance%2A?displayProperty=nameWithType> method with the URL of the server where you want to create the object, you must encapsulate the URL in an instance of the <xref:System.Runtime.Remoting.Activation.UrlAttribute> class.
881881
882-
For a detailed description of client-activated objects, see [Client Activation](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/w93betdk(v=vs.100))
882+
For a detailed description of client-activated objects, see [Client Activation](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/w93betdk(v=vs.100)).
883883
884884
885885

xml/System.Security.Cryptography/DSACng.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ An error occurred during signature creation.
295295
<Docs>
296296
<param name="disposing">
297297
<see langword="true" /> to release managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
298-
<summary>Releases the resources used by the current instance of the <see xref="T:System.Security.Cryptography.DSACng" /> class.</summary>
298+
<summary>Releases the resources used by the current instance of the <see cref="T:System.Security.Cryptography.DSACng" /> class.</summary>
299299
<remarks>To be added.</remarks>
300300
</Docs>
301301
</Member>

xml/System.Security.Cryptography/DSACryptoServiceProvider.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@
498498
<Docs>
499499
<param name="disposing">
500500
<see langword="true" /> to release managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
501-
<summary>Releases the resources used by the current instance of the <see xref="T:System.Security.Cryptography.DSACng" /> class.</summary>
501+
<summary>Releases the resources used by the current instance of the <see cref="T:System.Security.Cryptography.DSACryptoServiceProvider" /> class.</summary>
502502
<remarks>To be added.</remarks>
503503
</Docs>
504504
</Member>

xml/System.Security.Cryptography/DSAOpenSsl.xml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
<Docs>
4343
<summary>Provides an implementation of the Digital Signature Algorithm (DSA) backed by OpenSSL.</summary>
4444
<remarks>
45-
<format type="text/markdown"><![CDATA[
46-
47-
## Remarks
45+
<format type="text/markdown"><![CDATA[
46+
47+
## Remarks
4848
4949
This class should only be used directly when doing platform interop with the system OpenSSL library. When platform interop is not needed, you should use the <xref:System.Security.Cryptography.DSA.Create%2A?displayProperty=nameWithType> factory methods instead of a specific derived implementation.
5050
5151
> [!IMPORTANT]
52-
> The creators of the DSA algorithm have withdrawn their support for it. Consider using the <xref:System.Security.Cryptography.RSA> class or the <xref:System.Security.Cryptography.ECDsa> class instead of the <xref:System.Security.Cryptography.DSA> class. Use <xref:System.Security.Cryptography.DSA> only for compatibility with legacy applications and data.
52+
> The creators of the DSA algorithm have withdrawn their support for it. Consider using the <xref:System.Security.Cryptography.RSA> class or the <xref:System.Security.Cryptography.ECDsa> class instead of the <xref:System.Security.Cryptography.DSA> class. Use <xref:System.Security.Cryptography.DSA> only for compatibility with legacy applications and data.
5353
5454
DSAOpenSSL provides the FIPS 186-3 version of DSA.
5555
@@ -104,9 +104,9 @@ DSAOpenSSL provides the FIPS 186-3 version of DSA.
104104
<Docs>
105105
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DSAOpenSsl" /> class with a default key size of 2048 bits.</summary>
106106
<remarks>
107-
<format type="text/markdown"><![CDATA[
108-
109-
## Remarks
107+
<format type="text/markdown"><![CDATA[
108+
109+
## Remarks
110110
111111
This constructor does not generate a new DSA public/private keypair immediately, it just sets the size which will be used to generate a key when one is needed.
112112
If key is loaded via the <xref:System.Security.Cryptography.DSAOpenSsl.ImportParameters%2A> method, or other key import method, the key size from this constructor has no meaning.
@@ -167,9 +167,9 @@ If key is loaded via the <xref:System.Security.Cryptography.DSAOpenSsl.ImportPar
167167
<param name="keySize">The size of the key to generate, when a key is needed.</param>
168168
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DSAOpenSsl" /> class with a specified key size.</summary>
169169
<remarks>
170-
<format type="text/markdown"><![CDATA[
171-
172-
## Remarks
170+
<format type="text/markdown"><![CDATA[
171+
172+
## Remarks
173173
174174
This constructor does not generate a new DSA public/private keypair immediately, it just sets the size which will be used to generate a key when one is needed.
175175
If key is loaded via the <xref:System.Security.Cryptography.DSAOpenSsl.ImportParameters%2A> method, or other key import method, the `keySize` provided to this constructor has no meaning.
@@ -231,13 +231,13 @@ If key is loaded via the <xref:System.Security.Cryptography.DSAOpenSsl.ImportPar
231231
<param name="handle">The OpenSSL <c>DSA*</c> value to use as the key.</param>
232232
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DSAOpenSsl" /> class from an existing OpenSSL key represented as a <c>DSA*</c>.</summary>
233233
<remarks>
234-
<format type="text/markdown"><![CDATA[
235-
236-
## Remarks
234+
<format type="text/markdown"><![CDATA[
235+
236+
## Remarks
237237
238238
> [!IMPORTANT]
239239
> OpenSSL supports multiple library versions being loaded within the same process.
240-
> Before calling this constructor, verify your pointer value came from the same version of OpenSSL that this class uses.
240+
> Before calling this constructor, verify your pointer value came from the same version of OpenSSL that this class uses.
241241
> For more information, see <xref:System.Security.Cryptography.SafeEvpPKeyHandle.OpenSslVersion>.
242242
243243
]]></format>
@@ -364,9 +364,9 @@ If key is loaded via the <xref:System.Security.Cryptography.DSAOpenSsl.ImportPar
364364
<param name="pkeyHandle">The OpenSSL <c>EVP_PKEY*</c> value to use as the key, represented as a <see cref="T:System.Security.Cryptography.SafeEvpPKeyHandle" />.</param>
365365
<summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DSAOpenSsl" /> class from an existing OpenSSL key represented as an <c>EVP_PKEY*</c>.</summary>
366366
<remarks>
367-
<format type="text/markdown"><![CDATA[
368-
369-
## Remarks
367+
<format type="text/markdown"><![CDATA[
368+
369+
## Remarks
370370
371371
> [!IMPORTANT]
372372
> OpenSSL supports multiple library versions being loaded within the same process.
@@ -455,7 +455,7 @@ An error occurred during signature creation.
455455
<Docs>
456456
<param name="disposing">
457457
<see langword="true" /> to release managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
458-
<summary>Releases the resources used by the current instance of the <see xref="T:System.Security.Cryptography.DSAOpenSsl" /> class.</summary>
458+
<summary>Releases the resources used by the current instance of the <see cref="T:System.Security.Cryptography.DSAOpenSsl" /> class.</summary>
459459
<remarks>To be added.</remarks>
460460
</Docs>
461461
</Member>
@@ -489,9 +489,9 @@ An error occurred during signature creation.
489489
<summary>Gets a <see cref="T:System.Security.Cryptography.SafeEvpPKeyHandle" /> representation of the cryptographic key.</summary>
490490
<returns>A <see cref="T:System.Security.Cryptography.SafeEvpPKeyHandle" /> representation of the cryptographic key.</returns>
491491
<remarks>
492-
<format type="text/markdown"><![CDATA[
493-
494-
## Remarks
492+
<format type="text/markdown"><![CDATA[
493+
494+
## Remarks
495495
496496
Each call to this method produces a new <xref:System.Security.Cryptography.SafeEvpPKeyHandle> object with its own lifetime.
497497
The objects returned by this method can safely be used even after this <xref:System.Security.Cryptography.DSAOpenSsl> instance has been disposed.
@@ -681,9 +681,9 @@ The objects returned by this method can safely be used even after this <xref:Sys
681681
<summary>Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm.</summary>
682682
<value>The size, in bits, of the key modulus used by the asymmetric algorithm.</value>
683683
<remarks>
684-
<format type="text/markdown"><![CDATA[
685-
686-
## Remarks
684+
<format type="text/markdown"><![CDATA[
685+
686+
## Remarks
687687
688688
Setting this property to its current value has no visible effect.
689689
Setting this property to a new legal value discards the current key, but defers creation of a new key until one is needed.

xml/System.Web.Configuration/SystemWebCachingSectionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
The <xref:System.Web.Configuration.SystemWebCachingSectionGroup> class and the `caching` section provide centralized control of the caching mechanism for a site or application. This makes it possible for caching to be deployed, modified, and disabled without modifying individual pages in the application.
2626
27-
The ASP.NET caching mechanism is implemented by the <xref:System.Web.Caching.Cache> class. For more information, see [ASP.NET Caching Overview](https://docs.microsoft.com/previous-versions/aspnet/ms178597(v=vs.100))
27+
The ASP.NET caching mechanism is implemented by the <xref:System.Web.Caching.Cache> class. For more information, see [ASP.NET Caching Overview](https://docs.microsoft.com/previous-versions/aspnet/ms178597(v=vs.100)).
2828
2929
The following list describes the two types of caching ASP.NET provides.
3030

0 commit comments

Comments
 (0)