internal void RemoveAces <T> (RemoveAcesCallback <T> callback) where T : GenericAce { for (int i = 0; i < raw_acl.Count;) { if (raw_acl [i] is T && callback((T)raw_acl [i])) { raw_acl.RemoveAce(i); } else { i++; } } }
void RemoveAces (RemoveAcesCallback callback) { for (int i = 0; i < raw_acl.Count; ) { if (callback (raw_acl [i])) { raw_acl.RemoveAce (i); } else { i ++; } } }