public BitArray Not() { int ints = GetArrayLength(m_length, BitsPerInt32); for (int i = 0; i < ints; i++) { m_array[i] = ~m_array[i]; } _version++; return this; }
static public int Not(IntPtr l) { try { System.Collections.BitArray self = (System.Collections.BitArray)checkSelf(l); var ret = self.Not(); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }