A IReadOnlyList <A> .this[int index]
 {
     get
     {
         if (index < 0 || index >= Root.Count)
         {
             throw new IndexOutOfRangeException();
         }
         return(ListModule.GetItem(Root, Rev ? Count - index - 1 : index));
     }
 }
Beispiel #2
0
 public A this[int index]
 {
     get
     {
         if (index < 0 || index >= Root.Count)
         {
             throw new IndexOutOfRangeException();
         }
         return(ListModule.GetItem(Root, Value.Rev ? Count - index - 1 : index));
     }
 }