fix: increment private state fields through a non-`this` receiver (#18622)