From b18d4e6945e820de689f2b8050625453b53a7a79 Mon Sep 17 00:00:00 2001 From: Maira Wenzel Date: Tue, 31 Mar 2020 12:23:57 -0700 Subject: [PATCH 1/2] fix broken links (#4054) --- xml/System.Web/SiteMap.xml | 2 +- xml/System.Web/SiteMapProvider.xml | 2 +- xml/System.Web/SiteMapProviderCollection.xml | 2 +- xml/System.Web/StaticSiteMapProvider.xml | 2 +- xml/System.Web/XmlSiteMapProvider.xml | 2 +- xml/System.Windows/FrameworkElement.xml | 2 +- xml/System/DateTime.xml | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/xml/System.Web/SiteMap.xml b/xml/System.Web/SiteMap.xml index cdde8f1ef9b..8ebf479810c 100644 --- a/xml/System.Web/SiteMap.xml +++ b/xml/System.Web/SiteMap.xml @@ -71,7 +71,7 @@ ASP.NET Site Navigation Overview ASP.NET Site Maps - ASP.NET Site Navigation Providers + ASP.NET Site Navigation Providers diff --git a/xml/System.Web/SiteMapProvider.xml b/xml/System.Web/SiteMapProvider.xml index 0787bd8a2d1..fd4ce90f2b0 100644 --- a/xml/System.Web/SiteMapProvider.xml +++ b/xml/System.Web/SiteMapProvider.xml @@ -68,7 +68,7 @@ catalog.aspx,Online Catalog,Browse Our Many Great Items!,default.aspx ASP.NET Site Navigation Overview ASP.NET Site Maps - ASP.NET Site Navigation Providers + ASP.NET Site Navigation Providers Securing ASP.NET Site Navigation Working with Assemblies and the Global Assembly Cache diff --git a/xml/System.Web/SiteMapProviderCollection.xml b/xml/System.Web/SiteMapProviderCollection.xml index d5855833f97..112e6845d43 100644 --- a/xml/System.Web/SiteMapProviderCollection.xml +++ b/xml/System.Web/SiteMapProviderCollection.xml @@ -45,7 +45,7 @@ AccessSiteMapProvider Samples.AspNet.Controls.AccessSiteMapProvider - ASP.NET Site Navigation Providers + ASP.NET Site Navigation Providers diff --git a/xml/System.Web/StaticSiteMapProvider.xml b/xml/System.Web/StaticSiteMapProvider.xml index 7c802c36cf7..c657c30262c 100644 --- a/xml/System.Web/StaticSiteMapProvider.xml +++ b/xml/System.Web/StaticSiteMapProvider.xml @@ -94,7 +94,7 @@ NODEID URL NAME PARENTNODEID ASP.NET Site Navigation Overview ASP.NET Site Maps - ASP.NET Site Navigation Providers + ASP.NET Site Navigation Providers diff --git a/xml/System.Web/XmlSiteMapProvider.xml b/xml/System.Web/XmlSiteMapProvider.xml index 4b608131457..59392d3345b 100644 --- a/xml/System.Web/XmlSiteMapProvider.xml +++ b/xml/System.Web/XmlSiteMapProvider.xml @@ -67,7 +67,7 @@ ASP.NET Site Navigation Overview ASP.NET Site Maps - ASP.NET Site Navigation Providers + ASP.NET Site Navigation Providers How to: Add Simple Site Navigation Securing ASP.NET Site Navigation diff --git a/xml/System.Windows/FrameworkElement.xml b/xml/System.Windows/FrameworkElement.xml index f02cbef6c4b..7b0061e3f3f 100644 --- a/xml/System.Windows/FrameworkElement.xml +++ b/xml/System.Windows/FrameworkElement.xml @@ -1318,7 +1318,7 @@ [!code-csharp[CustomControlNumericUpDown#StaticCtorOfCustomClassCommonTasks](~/samples/snippets/csharp/VS_Snippets_Wpf/CustomControlNumericUpDown/CSharp/CustomControlLibrary/NumericUpDown2.cs)] [!code-vb[CustomControlNumericUpDown#StaticCtorOfCustomClassCommonTasks](~/samples/snippets/visualbasic/VS_Snippets_Wpf/CustomControlNumericUpDown/visualbasic/customcontrollibrary/numericupdown2.vb)] - The complete source code for this example is available on GitHub for both [C#](https://github.com/dotnet/samples/tree/master/snippets/csharp/VS_Snippets_Wpf/CustomControlNumericUpDown/CSharp/CustomControlLibrary) and [Visual Basic](https://github.com/dotnet/samples/tree/master/snippets/visualbasic/VS_Snippets_Wpf/CustomControlNumericUpDown/visualbasic/customcontrollibrary). + The complete source code for this example is available on GitHub for both [C#](https://github.com/dotnet/dotnet-api-docs/tree/master/samples/snippets/csharp/VS_Snippets_Wpf/CustomControlNumericUpDown/CSharp/CustomControlLibrary) and [Visual Basic](https://github.com/dotnet/dotnet-api-docs/tree/master/samples/snippets/visualbasic/VS_Snippets_Wpf/CustomControlNumericUpDown/visualbasic/customcontrollibrary). ]]> diff --git a/xml/System/DateTime.xml b/xml/System/DateTime.xml index b03bf805cb6..dcb8e8e4e41 100644 --- a/xml/System/DateTime.xml +++ b/xml/System/DateTime.xml @@ -153,7 +153,7 @@ Time values are measured in 100-nanosecond units called ticks. A particular date > [!NOTE] > If you are working with a ticks value that you want to convert to some other time interval, such as minutes or seconds, you should use the , , , , or constant to perform the conversion. For example, to add the number of seconds represented by a specified number of ticks to the component of a value, you can use the expression `dateValue.Second + nTicks/Timespan.TicksPerSecond`. -You can view the source for the entire set of examples from this article in either [Visual Basic](https://github.com/dotnet/samples/tree/master/snippets/visualbasic/System.DateTime/) or [C#](https://github.com/dotnet/samples/tree/master/snippets/csharp/System.DateTime/) from the docs repository on GitHub. +You can view the source for the entire set of examples from this article in either [Visual Basic](https://github.com/dotnet/dotnet-api-docs/tree/master/samples/snippets/visualbasic/System.DateTime/) or [C#](https://github.com/dotnet/dotnet-api-docs/tree/master/samples/snippets/csharp/System.DateTime/) from the docs repository on GitHub. > [!NOTE] > An alternative to the structure for working with date and time values in particular time zones is the structure. The structure stores date and time information in a private field and the number of minutes by which that date and time differs from UTC in a private field. This makes it possible for a value to reflect the time in a particular time zone, whereas a value can unambiguously reflect only UTC and the local time zone's time. For a discussion about when to use the structure or the structure when working with date and time values, see [Choosing Between DateTime, DateTimeOffset, TimeSpan, and TimeZoneInfo](~/docs/standard/datetime/choosing-between-datetime.md). @@ -457,7 +457,7 @@ The previous examples all assumed that values are express [!code-vb[System.DateTime.Persistence#6](~/samples/snippets/visualbasic/System.DateTime/DateWithTimeZone.vb#6)] > [!IMPORTANT] -> The `DateWithTimeZone` structure is used in the next two examples, which serialize and deserialize an array of `DateWithTimeZone` objects. You can view the source for the entire set of examples from this article in either [Visual Basic](https://github.com/dotnet/samples/tree/master/snippets/visualbasic/System.DateTime/) or [C#](https://github.com/dotnet/samples/tree/master/snippets/csharp/System.DateTime/) from the docs repository on GitHub. +> The `DateWithTimeZone` structure is used in the next two examples, which serialize and deserialize an array of `DateWithTimeZone` objects. You can view the source for the entire set of examples from this article in either [Visual Basic](https://github.com/dotnet/dotnet-api-docs/tree/master/samples/snippets/visualbasic/System.DateTime/) or [C#](https://github.com/dotnet/dotnet-api-docs/tree/master/samples/snippets/csharp/System.DateTime/) from the docs repository on GitHub. By using the `DateWithTimeZone` structure, you can then persist date and time along with time zone information. The following example uses the class to serialize an array of `DateWithTimeZone` objects. From a14c597f64a7db2abc59a04ce4cc6df06c6d082e Mon Sep 17 00:00:00 2001 From: Edward Brey Date: Tue, 31 Mar 2020 14:25:26 -0500 Subject: [PATCH 2/2] Grammar fix (#4053) Added a period to end of the last sentence in the disclaimer. --- xml/System.Threading/Thread.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Threading/Thread.xml b/xml/System.Threading/Thread.xml index 06b481a7822..2f0d6d21521 100644 --- a/xml/System.Threading/Thread.xml +++ b/xml/System.Threading/Thread.xml @@ -544,7 +544,7 @@ Main thread: ThreadProc.Join has returned. Press Enter to end program. ## Remarks > [!IMPORTANT] -> The `Thread.Abort` method should be used with caution. Particularly when you call it to abort a thread other than the current thread, you do not know what code has executed or failed to execute when the is thrown, nor can you be certain of the state of your application or any application and user state that it is responsible for preserving. For example, calling `Thread.Abort` may prevent static constructors from executing or prevent the release of unmanaged resources +> The `Thread.Abort` method should be used with caution. Particularly when you call it to abort a thread other than the current thread, you do not know what code has executed or failed to execute when the is thrown, nor can you be certain of the state of your application or any application and user state that it is responsible for preserving. For example, calling `Thread.Abort` may prevent static constructors from executing or prevent the release of unmanaged resources. ]]>