private void ClearKeyRepeat(ref KeyEventArg eventArg, int index)
 {
     if (KeyEventArg.Equals(ref eventArg, ref keyRepeats[index].eventArg))
     {
         keyRepeats[index] = KeyRepeatInfo.None;
     }
 }
 public static bool Equals(ref KeyRepeatInfo a, ref KeyRepeatInfo b)
 {
     return(KeyEventArg.Equals(ref a.eventArg, ref b.eventArg));
 }