Skip to content

Commit c9660da

Browse files
committed
remove test cmdlet and problem id
1 parent 5df8b98 commit c9660da

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

tools/StaticAnalysis/ProblemIDs.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ public static class SignatureProblemId
66
public const int ConfirmLeveleWithNoShouldProcess = 8010;
77
public const int ActionIndicatesShouldProcess = 8100;
88
public const int ConfirmLevelChange = 8200;
9-
public const int CmdletWithDestructiveVerbNoForce = 8210;
109
public const int CmdletWithUnapprovedVerb = 8300;
1110
public const int CmdletWithPluralNoun = 8400;
1211
public const int ParameterWithPluralNoun = 8410;

tools/StaticAnalysis/StaticAnalysis.Test/TestCmdlets/SignatureVerifier_Cmdlet.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -205,27 +205,6 @@ protected override void BeginProcessing()
205205
}
206206
}
207207
}
208-
209-
namespace StaticAnalysis.Test.CmdletTest.Signature.ShouldContinueVerbWithoutForceSwitch
210-
{
211-
using System.Management.Automation;
212-
213-
/// <summary>
214-
/// Verify if cmdlet that has Force parameter should also define SupportsShouldProcess parameter
215-
/// </summary>
216-
[Cmdlet(VerbsData.Export, "ShouldContinueVerbWithoutForceSwitch")]
217-
public class ShouldContinueVerbWithoutForceSwitch : Cmdlet
218-
{
219-
/// <summary>
220-
///
221-
/// </summary>
222-
protected override void BeginProcessing()
223-
{
224-
WriteObject("TestCmdLet BeginProcessing()");
225-
WriteInformation("Info", null);
226-
}
227-
}
228-
}
229208
#endregion
230209

231210
#region CmdletWithUnapprovedVerb

0 commit comments

Comments
 (0)