We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c58dafd commit 27e05c3Copy full SHA for 27e05c3
rules/UseSupportsShouldProcess.cs
@@ -65,7 +65,7 @@ private List<DiagnosticRecord> FindViolations()
65
int whatIfIndex, confirmIndex;
66
ParameterAst whatIfParamAst, confirmParamAst;
67
ParamBlockAst paramBlockAst;
68
- var parameterAsts = functionDefinitionAst.GetParameterAsts(out paramBlockAst).ToArray();
+ var parameterAsts = functionDefinitionAst.GetParameterAsts(out paramBlockAst)?.ToArray();
69
if (parameterAsts == null)
70
{
71
continue;
0 commit comments