Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Oct 25, 2024
1 parent b22bef4 commit 6d3ddc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ bool ShouldAddCast()
}

return (ShouldAddCast())
? SyntaxFactory.CastExpression(type, expression).WithSimplifierAnnotation()
? SyntaxFactory.CastExpression(type.WithoutTrivia(), expression).WithSimplifierAnnotation()
: expression;
}
}
Expand Down

0 comments on commit 6d3ddc0

Please sign in to comment.