Change 'snippet' tag to 'code' tag in XML comments (#16106)

This commit is contained in:
Sean Wheeler 2021-09-15 17:42:13 -05:00 committed by GitHub
parent fd3579badb
commit 6d2feeee38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 28 deletions

View file

@ -1063,7 +1063,7 @@ namespace System.Management.Automation
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype1")]
@ -1086,7 +1086,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string,string)"/>
@ -1157,7 +1157,7 @@ namespace System.Management.Automation
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype2")]
@ -1180,7 +1180,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string,string)"/>
@ -1260,7 +1260,7 @@ namespace System.Management.Automation
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype3")]
@ -1286,7 +1286,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
@ -1375,7 +1375,7 @@ namespace System.Management.Automation
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype3")]
@ -1403,7 +1403,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
@ -1681,7 +1681,7 @@ namespace System.Management.Automation
/// to ShouldProcess for the Cmdlet instance.
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype4")]
@ -1725,7 +1725,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldContinue(string,string,ref bool,ref bool)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
@ -1863,7 +1863,7 @@ namespace System.Management.Automation
/// to ShouldProcess for the Cmdlet instance.
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype4")]
@ -1912,7 +1912,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldContinue(string,string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>

View file

@ -801,7 +801,7 @@ namespace System.Management.Automation
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype1")]
@ -824,7 +824,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string,string)"/>
@ -897,7 +897,7 @@ namespace System.Management.Automation
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype2")]
@ -920,7 +920,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string,string)"/>
@ -1001,7 +1001,7 @@ namespace System.Management.Automation
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype3")]
@ -1027,7 +1027,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
@ -1117,7 +1117,7 @@ namespace System.Management.Automation
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype3")]
@ -1145,7 +1145,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
@ -1233,7 +1233,7 @@ namespace System.Management.Automation
/// to ShouldProcess for the Cmdlet instance.
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype4")]
@ -1277,7 +1277,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldContinue(string,string,ref bool,ref bool)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
@ -1362,7 +1362,7 @@ namespace System.Management.Automation
/// to ShouldProcess for the Cmdlet instance.
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype4")]
@ -1411,7 +1411,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldContinue(string,string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
@ -1502,7 +1502,7 @@ namespace System.Management.Automation
/// to ShouldProcess for the Cmdlet instance.
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype4")]
@ -1551,7 +1551,7 @@ namespace System.Management.Automation
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldContinue(string,string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>

View file

@ -1458,7 +1458,7 @@ namespace System.Management.Automation.Host
/// Provided for clearing regions -- less chatty than passing an array of cells.
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// using System;
/// using System.Management.Automation;
/// using System.Management.Automation.Host;
@ -1474,7 +1474,7 @@ namespace System.Management.Automation.Host
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(int, int, BufferCell)"/>
/// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(Size, BufferCell)"/>