Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions src/System.Management.Automation/engine/MshCommandRuntime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ internal int OutBuffer
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype1")]
Expand All @@ -1086,7 +1086,7 @@ internal int OutBuffer
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string,string)"/>
Expand Down Expand Up @@ -1157,7 +1157,7 @@ public bool ShouldProcess(string target)
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype2")]
Expand All @@ -1180,7 +1180,7 @@ public bool ShouldProcess(string target)
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string,string)"/>
Expand Down Expand Up @@ -1260,7 +1260,7 @@ public bool ShouldProcess(string target, string action)
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype3")]
Expand All @@ -1286,7 +1286,7 @@ public bool ShouldProcess(string target, string action)
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
Expand Down Expand Up @@ -1375,7 +1375,7 @@ public bool ShouldProcess(
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype3")]
Expand Down Expand Up @@ -1403,7 +1403,7 @@ public bool ShouldProcess(
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
Expand Down Expand Up @@ -1681,7 +1681,7 @@ internal ShouldProcessPossibleOptimization CalculatePossibleShouldProcessOptimiz
/// to ShouldProcess for the Cmdlet instance.
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype4")]
Expand Down Expand Up @@ -1725,7 +1725,7 @@ internal ShouldProcessPossibleOptimization CalculatePossibleShouldProcessOptimiz
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldContinue(string,string,ref bool,ref bool)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
Expand Down Expand Up @@ -1863,7 +1863,7 @@ public bool ShouldContinue(
/// to ShouldProcess for the Cmdlet instance.
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype4")]
Expand Down Expand Up @@ -1912,7 +1912,7 @@ public bool ShouldContinue(
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldContinue(string,string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
Expand Down
28 changes: 14 additions & 14 deletions src/System.Management.Automation/engine/cmdlet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ public void WriteInformation(InformationRecord informationRecord)
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype1")]
Expand All @@ -824,7 +824,7 @@ public void WriteInformation(InformationRecord informationRecord)
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string,string)"/>
Expand Down Expand Up @@ -897,7 +897,7 @@ public bool ShouldProcess(string target)
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype2")]
Expand All @@ -920,7 +920,7 @@ public bool ShouldProcess(string target)
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string,string)"/>
Expand Down Expand Up @@ -1001,7 +1001,7 @@ public bool ShouldProcess(string target, string action)
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype3")]
Expand All @@ -1027,7 +1027,7 @@ public bool ShouldProcess(string target, string action)
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
Expand Down Expand Up @@ -1117,7 +1117,7 @@ public bool ShouldProcess(
/// <see cref="System.Management.Automation.ActionPreferenceStopException"/>,
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype3")]
Expand Down Expand Up @@ -1145,7 +1145,7 @@ public bool ShouldProcess(
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string,string)"/>
Expand Down Expand Up @@ -1233,7 +1233,7 @@ public bool ShouldProcess(
/// to ShouldProcess for the Cmdlet instance.
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype4")]
Expand Down Expand Up @@ -1277,7 +1277,7 @@ public bool ShouldProcess(
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldContinue(string,string,ref bool,ref bool)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
Expand Down Expand Up @@ -1362,7 +1362,7 @@ public bool ShouldContinue(string query, string caption)
/// to ShouldProcess for the Cmdlet instance.
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype4")]
Expand Down Expand Up @@ -1411,7 +1411,7 @@ public bool ShouldContinue(string query, string caption)
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldContinue(string,string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
Expand Down Expand Up @@ -1502,7 +1502,7 @@ public bool ShouldContinue(
/// to ShouldProcess for the Cmdlet instance.
/// </remarks>
/// <example>
/// <snippet Code="C#">
/// <code>
/// namespace Microsoft.Samples.MSH.Cmdlet
/// {
/// [Cmdlet(VerbsCommon.Remove,"myobjecttype4")]
Expand Down Expand Up @@ -1551,7 +1551,7 @@ public bool ShouldContinue(
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldContinue(string,string)"/>
/// <seealso cref="System.Management.Automation.Cmdlet.ShouldProcess(string)"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@ public abstract
/// 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;
Expand All @@ -1474,7 +1474,7 @@ public abstract
/// }
/// }
/// }
/// </snippet>
/// </code>
/// </example>
/// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(int, int, BufferCell)"/>
/// <seealso cref="System.Management.Automation.Host.PSHostRawUserInterface.NewBufferCellArray(Size, BufferCell)"/>
Expand Down