public void CopyTo(MethodOverrideCollection copy)
 {
     foreach (var item in this)
     {
         copy.Add(item);
     }
 }
 public virtual void Visit(MethodOverrideCollection overrides)
 {
     for (int i = 0; i < overrides.Count; i++)
     {
         Visit(overrides[i]);
     }
 }
Esempio n. 3
0
 public virtual void Build(MethodOverrideCollection overrides)
 {
     for (int i = 0; i < overrides.Count; i++)
     {
         var methodOverride = overrides[i];
         if (Build(ref methodOverride))
         {
             overrides[i] = methodOverride;
         }
     }
 }