public DeclSecurity[] GetSecurity() { if (security == null) return null; return (DeclSecurity[])security.ToArray(typeof(DeclSecurity)); }