Ejemplo n.º 1
0
        // Token: 0x0600038E RID: 910 RVA: 0x00018204 File Offset: 0x00016404
        public ICollection <Class_163> kmethod_507(Class_168 arg_0, string str_0)
        {
            if (arg_0 == null)
            {
                throw new ArgumentNullException("zip");
            }
            List <Class_163> list = new List <Class_163>();
            string           text = (str_0 == null) ? null : str_0.Replace("/", "\\");

            if (text != null)
            {
                while (text.EndsWith("\\"))
                {
                    text = text.Substring(0, text.Length - 1);
                }
            }
            using (IEnumerator <Class_163> enumerator = arg_0.dmethod_956())
            {
                while (enumerator.MoveNext())
                {
                    Class_163 class_ = enumerator.Current;
                    if ((str_0 == null || Path.GetDirectoryName(class_.prop_12) == str_0 || Path.GetDirectoryName(class_.prop_12) == text) && this.vmethod_505(class_))
                    {
                        list.Add(class_);
                    }
                }
            }
            return(list);
        }
Ejemplo n.º 2
0
        // Token: 0x0600038D RID: 909 RVA: 0x0001818C File Offset: 0x0001638C
        public ICollection <Class_163> dmethod_506(Class_168 arg_0)
        {
            if (arg_0 == null)
            {
                throw new ArgumentNullException("zip");
            }
            List <Class_163> list = new List <Class_163>();

            using (IEnumerator <Class_163> enumerator = arg_0.dmethod_956())
            {
                while (enumerator.MoveNext())
                {
                    Class_163 class_ = enumerator.Current;
                    if (this.vmethod_505(class_))
                    {
                        list.Add(class_);
                    }
                }
            }
            return(list);
        }