Esempio n. 1
0
        public override int Replace(Regex pattern, string replace)
        {
            int num3;
            int num = 0x12;

            if (Class191.smethod_0(pattern))
            {
                throw new ArgumentException(BookmarkStart.b("欷弹崻䰽⌿⩁摃㕅㱇㡉╋⁍㝏牑㝓㝕㙗㑙㍛⩝䁟aţ䙥൧ݩᱫᩭ९", num));
            }
            int num2 = 0;

            using (IEnumerator enumerator = this.ChildObjects.GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    BodyRegion current = (BodyRegion)enumerator.Current;
                    num2 += current.Replace(pattern, replace);
                    if (base.Document.ReplaceFirst && (num2 > 0))
                    {
                        goto Label_0064;
                    }
                }
                return(num2);

Label_0064:
                num3 = num2;
            }
            return(num3);
        }