I am not sure if you still care about this. Developers definitely don't seem to.
Anyway, you already determined what DLL is at fault here. I can second that.
IL2CPP seems not to like an assignment inside the condition, and would send a compiler on a wild ride.
Now it just depends on how far you are willing to take it.