Skip to content

Commit

Permalink
Correct syntax for AppendExpression in UnsavedChangesAttribute.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasstich committed Nov 18, 2024
1 parent 7301083 commit 8ee0eba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ [CompileTime] IEnumerable<IFieldOrProperty> relevantIEnumerableMembers
// ReSharper disable once ArrangeRedundantParentheses because we need the parantheses in the expression
exprBuilder.AppendExpression((member.Value?.UnsavedChanges ?? false));
else
exprBuilder.AppendExpression(member.Value?.UnsavedChanges);
exprBuilder.AppendExpression(member.Value!.UnsavedChanges);
}

foreach (var member in relevantIEnumerableMembers)
Expand Down

0 comments on commit 8ee0eba

Please sign in to comment.