Skip to content

Commit

Permalink
Update AvoidZeroLengthArrayAllocations.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 authored Dec 12, 2022
1 parent 5ffc2c7 commit 3a821da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private static void AnalyzeOperation(OperationAnalysisContext context, IMethodSy
{
return;
}

if (arrayCreationExpression.IsWithinExpressionTree(linqExpressionType))
{
return;
Expand Down

0 comments on commit 3a821da

Please sign in to comment.