public Builder Toggle(int index) { CheckIndex(index); // If there is a null at this index, assume it was set to false in the value buffer, and so becomes // true/non-null after toggling. ValueBuffer.Toggle(index); ValidityBuffer.Set(index); return(this); }