From eb4b8f1174fcc192744e2ff5a78e13e3b6978d47 Mon Sep 17 00:00:00 2001 From: Min Huang Date: Thu, 17 Nov 2022 11:44:21 +0800 Subject: [PATCH 1/2] Workaround for https://dev.azure.com/ceapex/Engineering/_workitems/edit/738082 --- .../CommandLineConfigurationExtensions.xml | 4 ++-- xml/Microsoft.Extensions.Options/IOptionsMonitor`1.xml | 2 +- xml/Microsoft.Extensions.Options/IOptionsSnapshot`1.xml | 2 +- xml/Microsoft.Extensions.Options/OptionsManager`1.xml | 2 +- xml/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.xml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xml/Microsoft.Extensions.Configuration/CommandLineConfigurationExtensions.xml b/xml/Microsoft.Extensions.Configuration/CommandLineConfigurationExtensions.xml index a4f0318f66b..7be6d61a7e6 100644 --- a/xml/Microsoft.Extensions.Configuration/CommandLineConfigurationExtensions.xml +++ b/xml/Microsoft.Extensions.Configuration/CommandLineConfigurationExtensions.xml @@ -94,7 +94,7 @@ The to add to. The command line args. - Adds a + Adds a   that reads configuration values from the command line. The . @@ -184,7 +184,7 @@ key1=value1 alias keys (with prefix "--"), mapped to the configuration key (no prefix). - Adds a that reads + Adds a   that reads configuration values from the command line using the specified switch mappings. The . diff --git a/xml/Microsoft.Extensions.Options/IOptionsMonitor`1.xml b/xml/Microsoft.Extensions.Options/IOptionsMonitor`1.xml index 795098a0f80..ae83f95bf03 100644 --- a/xml/Microsoft.Extensions.Options/IOptionsMonitor`1.xml +++ b/xml/Microsoft.Extensions.Options/IOptionsMonitor`1.xml @@ -93,7 +93,7 @@ - The name of the instance, if a is used. + The name of the instance, if a   is used. Returns a configured instance with the given name. The instance that matches the given . To be added. diff --git a/xml/Microsoft.Extensions.Options/IOptionsSnapshot`1.xml b/xml/Microsoft.Extensions.Options/IOptionsSnapshot`1.xml index b68e31c36e2..9d97d6d7934 100644 --- a/xml/Microsoft.Extensions.Options/IOptionsSnapshot`1.xml +++ b/xml/Microsoft.Extensions.Options/IOptionsSnapshot`1.xml @@ -76,7 +76,7 @@ - The name of the instance, if is used. + The name of the instance, if   is used. Returns a configured instance with the given name. The instance that matches the given . To be added. diff --git a/xml/Microsoft.Extensions.Options/OptionsManager`1.xml b/xml/Microsoft.Extensions.Options/OptionsManager`1.xml index 6a33958d0f4..9ebab0845c0 100644 --- a/xml/Microsoft.Extensions.Options/OptionsManager`1.xml +++ b/xml/Microsoft.Extensions.Options/OptionsManager`1.xml @@ -139,7 +139,7 @@ - The name of the instance, if a is used. + The name of the instance, if a   is used. Returns a configured instance with the given . The instance that matches the given . To be added. diff --git a/xml/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.xml b/xml/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.xml index 71f59387524..6e11310d7f3 100644 --- a/xml/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.xml +++ b/xml/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.xml @@ -28,7 +28,7 @@
  • for instance methods.
  • - parameters that refer to types.
  • + parameters that refer to   types.
  • parameters.
  • From 4bbb824ace1c24f19a1886ac1b306c4ed17c532b Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Thu, 17 Nov 2022 12:07:45 -0800 Subject: [PATCH 2/2] Apply suggestions from code review --- .../CommandLineConfigurationExtensions.xml | 4 ++-- xml/Microsoft.Extensions.Options/IOptionsMonitor`1.xml | 2 +- xml/Microsoft.Extensions.Options/IOptionsSnapshot`1.xml | 2 +- xml/Microsoft.Extensions.Options/OptionsManager`1.xml | 2 +- xml/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.xml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xml/Microsoft.Extensions.Configuration/CommandLineConfigurationExtensions.xml b/xml/Microsoft.Extensions.Configuration/CommandLineConfigurationExtensions.xml index 7be6d61a7e6..1b625c5cdf5 100644 --- a/xml/Microsoft.Extensions.Configuration/CommandLineConfigurationExtensions.xml +++ b/xml/Microsoft.Extensions.Configuration/CommandLineConfigurationExtensions.xml @@ -94,7 +94,7 @@ The to add to. The command line args. - Adds a   + Adds a that reads configuration values from the command line. The . @@ -184,7 +184,7 @@ key1=value1 alias keys (with prefix "--"), mapped to the configuration key (no prefix). - Adds a   that reads + Adds a that reads configuration values from the command line using the specified switch mappings. The . diff --git a/xml/Microsoft.Extensions.Options/IOptionsMonitor`1.xml b/xml/Microsoft.Extensions.Options/IOptionsMonitor`1.xml index ae83f95bf03..431569ebecc 100644 --- a/xml/Microsoft.Extensions.Options/IOptionsMonitor`1.xml +++ b/xml/Microsoft.Extensions.Options/IOptionsMonitor`1.xml @@ -93,7 +93,7 @@ - The name of the instance, if a   is used. + The name of the instance, if is . Returns a configured instance with the given name. The instance that matches the given . To be added. diff --git a/xml/Microsoft.Extensions.Options/IOptionsSnapshot`1.xml b/xml/Microsoft.Extensions.Options/IOptionsSnapshot`1.xml index 9d97d6d7934..bc605afcd2c 100644 --- a/xml/Microsoft.Extensions.Options/IOptionsSnapshot`1.xml +++ b/xml/Microsoft.Extensions.Options/IOptionsSnapshot`1.xml @@ -76,7 +76,7 @@ - The name of the instance, if   is used. + The name of the instance, if is . Returns a configured instance with the given name. The instance that matches the given . To be added. diff --git a/xml/Microsoft.Extensions.Options/OptionsManager`1.xml b/xml/Microsoft.Extensions.Options/OptionsManager`1.xml index 9ebab0845c0..ca0cedb0b59 100644 --- a/xml/Microsoft.Extensions.Options/OptionsManager`1.xml +++ b/xml/Microsoft.Extensions.Options/OptionsManager`1.xml @@ -139,7 +139,7 @@ - The name of the instance, if a   is used. + The name of the instance, if is . Returns a configured instance with the given . The instance that matches the given . To be added. diff --git a/xml/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.xml b/xml/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.xml index 6e11310d7f3..7aa6be6a499 100644 --- a/xml/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.xml +++ b/xml/System.Diagnostics.CodeAnalysis/UnscopedRefAttribute.xml @@ -28,7 +28,7 @@
  • for instance methods.
  • - parameters that refer to   types.
  • + parameters that refer to types.
  • parameters.