private static void ValidateCodeDirectives(CodeDirectiveCollection e) { for (int i=0; i<e.Count; i++) ValidateCodeDirective(e[i]); }