Пример #1
0
 public static int smethod_0(AbstractNoteClass class335_0, AbstractNoteClass class335_1)
 {
     if (!(class335_0 is MIDINote) || !(class335_1 is MIDINote) || class335_0.method_0() != class335_1.method_0())
     {
         return class335_0.method_0() - class335_1.method_0();
     }
     bool flag = ((MIDINote)class335_0).method_5();
     bool flag2 = ((MIDINote)class335_1).method_5();
     if (flag && !flag2)
     {
         return 1;
     }
     if (flag2 && !flag)
     {
         return -1;
     }
     return 0;
 }
Пример #2
0
        public static int smethod_0(AbstractNoteClass class335_0, AbstractNoteClass class335_1)
        {
            if (!(class335_0 is MIDINote) || !(class335_1 is MIDINote) || class335_0.method_0() != class335_1.method_0())
            {
                return(class335_0.method_0() - class335_1.method_0());
            }
            bool flag  = ((MIDINote)class335_0).method_5();
            bool flag2 = ((MIDINote)class335_1).method_5();

            if (flag && !flag2)
            {
                return(1);
            }
            if (flag2 && !flag)
            {
                return(-1);
            }
            return(0);
        }