public boolean equals(Object other) {if (other == null) {return false;}if (other instanceof BytesRef) {return this.bytesEquals((BytesRef) other);}return false;}

public override bool Equals(object other){if (other == null){return false;}if (other is BytesRef){return this.BytesEquals((BytesRef)other);}return false;}
