From c3835e6120d27a2cd5c3a7f1a60da4c126e12f35 Mon Sep 17 00:00:00 2001 From: Petr Onderka Date: Mon, 12 Mar 2018 16:00:52 +0100 Subject: [PATCH 1/4] Fix some xrefs --- xml/System.Data.SqlTypes/SqlByte.xml | 2 +- .../LegendItemsCollection.xml | 2 +- .../SqlWorkflowPersistenceService.xml | 2 +- xml/System/String.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xml/System.Data.SqlTypes/SqlByte.xml b/xml/System.Data.SqlTypes/SqlByte.xml index 04ede44f99db0..7dda7d44052df 100644 --- a/xml/System.Data.SqlTypes/SqlByte.xml +++ b/xml/System.Data.SqlTypes/SqlByte.xml @@ -1943,7 +1943,7 @@ Subtracts the second operand from the first. The results of subtracting the second operand from the first. - .]]> + .]]> diff --git a/xml/System.Windows.Forms.DataVisualization.Charting/LegendItemsCollection.xml b/xml/System.Windows.Forms.DataVisualization.Charting/LegendItemsCollection.xml index d09dce872141e..5a0b97cede1f9 100644 --- a/xml/System.Windows.Forms.DataVisualization.Charting/LegendItemsCollection.xml +++ b/xml/System.Windows.Forms.DataVisualization.Charting/LegendItemsCollection.xml @@ -95,7 +95,7 @@ ## Remarks Appends a custom legend item to the collection with the specified text and image to be used as the symbol for the legend item. - To add a custom legend item that uses a color for its symbol, call the [Add(Color, String)]() method. To insert a object into the collection use one of the methods of this class. diff --git a/xml/System.Workflow.Runtime.Hosting/SqlWorkflowPersistenceService.xml b/xml/System.Workflow.Runtime.Hosting/SqlWorkflowPersistenceService.xml index 9c5dcc5da6d2d..e27f78a49be49 100644 --- a/xml/System.Workflow.Runtime.Hosting/SqlWorkflowPersistenceService.xml +++ b/xml/System.Workflow.Runtime.Hosting/SqlWorkflowPersistenceService.xml @@ -524,7 +524,7 @@ on the batch. + always returns `true`, which instructs the workflow run-time engine to invoke on the batch. ]]> diff --git a/xml/System/String.xml b/xml/System/String.xml index 55f5225da7095..7e66057f258ae 100644 --- a/xml/System/String.xml +++ b/xml/System/String.xml @@ -4526,7 +4526,7 @@ In .NET Core, sorting and comparison operations are based on [Version 8.0.0 of t String interpolation is: -- More flexible. It can be used in any string without requiring a call to a method that supports composite formatting. Otherwise, you have to call the method or another method that supports composite formatting, such as or . +- More flexible. It can be used in any string without requiring a call to a method that supports composite formatting. Otherwise, you have to call the method or another method that supports composite formatting, such as or . - More readable. Because the expression to insert into a string appears in the interpolated expression rather than in a argument list, interpolated strings are far easier to code and to read. Because of their greater readability, interpolated strings can replace not only calls to composite format methods, but they can also be used in string concatenation operations to produce more concise, clearer code. From 0c7562fc1f8c9250a5c272f6a862890e979fac25 Mon Sep 17 00:00:00 2001 From: Petr Onderka Date: Mon, 12 Mar 2018 16:03:39 +0100 Subject: [PATCH 2/4] Fixed typo --- xml/System/String.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System/String.xml b/xml/System/String.xml index 7e66057f258ae..bff028f28ffc7 100644 --- a/xml/System/String.xml +++ b/xml/System/String.xml @@ -4530,7 +4530,7 @@ String interpolation is: - More readable. Because the expression to insert into a string appears in the interpolated expression rather than in a argument list, interpolated strings are far easier to code and to read. Because of their greater readability, interpolated strings can replace not only calls to composite format methods, but they can also be used in string concatenation operations to produce more concise, clearer code. -A comparison of the following two code examples illustrates the superiority of interpolated strings over string concatenation and calls to composite formatting methods. The use of mutiple string concatenation operations in the following example produces verbose and hard-to-read code. +A comparison of the following two code examples illustrates the superiority of interpolated strings over string concatenation and calls to composite formatting methods. The use of multiple string concatenation operations in the following example produces verbose and hard-to-read code. [!code-csharp-interactive[non-interpolated string operations](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.String.Format/cs/qa-interpolated1.cs)] [!code-vb[non-interpolated string operations](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/qa-interpolated1.vb)] From 1a0b25a8c5cad340b4bbf3c29cddda264a4a64d8 Mon Sep 17 00:00:00 2001 From: Petr Onderka Date: Tue, 13 Mar 2018 12:46:39 +0100 Subject: [PATCH 3/4] Change hybrid xref links to normal xrefs --- .../LegendItemsCollection.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System.Windows.Forms.DataVisualization.Charting/LegendItemsCollection.xml b/xml/System.Windows.Forms.DataVisualization.Charting/LegendItemsCollection.xml index 5a0b97cede1f9..ce51fe564b2b9 100644 --- a/xml/System.Windows.Forms.DataVisualization.Charting/LegendItemsCollection.xml +++ b/xml/System.Windows.Forms.DataVisualization.Charting/LegendItemsCollection.xml @@ -60,7 +60,7 @@ ## Remarks Appends a custom legend item with the specified text and symbol color to the end of the collection. - To add a custom legend item that uses an image for its symbol, call the [LegendItemsCollection.Add(String, String)]() method. + To add a custom legend item that uses an image for its symbol, call the method. To insert a custom into the collection, use one of the methods of this class. @@ -95,7 +95,7 @@ ## Remarks Appends a custom legend item to the collection with the specified text and image to be used as the symbol for the legend item. - To add a custom legend item that uses a color for its symbol, call the [Add(Color, String)]() method. + To add a custom legend item that uses a color for its symbol, call the method. To insert a object into the collection use one of the methods of this class. From 91bc3a75be30b4d4931cddc0785eb01caa829266 Mon Sep 17 00:00:00 2001 From: Petr Onderka Date: Tue, 13 Mar 2018 12:48:57 +0100 Subject: [PATCH 4/4] Remove redundant text with bad link --- .../SqlWorkflowPersistenceService.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Workflow.Runtime.Hosting/SqlWorkflowPersistenceService.xml b/xml/System.Workflow.Runtime.Hosting/SqlWorkflowPersistenceService.xml index e27f78a49be49..c20e673557760 100644 --- a/xml/System.Workflow.Runtime.Hosting/SqlWorkflowPersistenceService.xml +++ b/xml/System.Workflow.Runtime.Hosting/SqlWorkflowPersistenceService.xml @@ -519,7 +519,7 @@ An of serialized state objects to be written to the database. Returns a value that indicates whether the collection of serialized state objects should be written to the database. - indicates that the batch should be committed; always returns . + indicates that the batch should be committed.