We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4372eb commit 0abeb30Copy full SHA for 0abeb30
Rules/UseSingleValueFromPipelineParameter.cs
@@ -36,7 +36,7 @@ public IEnumerable<DiagnosticRecord> AnalyzeScript(Ast ast, string fileName)
36
{
37
if (ast == null)
38
39
- yield break;
+ throw new ArgumentNullException(Strings.NullAstErrorMessage);
40
}
41
// Find all param blocks that have a Parameter attribute with
42
// ValueFromPipeline set to true.
0 commit comments