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 9b6cbaf commit 834059dCopy full SHA for 834059d
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