private void method_240(string A_0, string A_1) { BookmarkStart start = null; BookmarkEnd end = null; foreach (IParagraphBase base2 in base.OwnerParagraph.Items) { if ((base2 is BookmarkStart) && ((base2 as BookmarkStart).Name == A_0)) { start = base2 as BookmarkStart; } else if ((base2 is BookmarkEnd) && ((base2 as BookmarkEnd).Name == A_0)) { end = base2 as BookmarkEnd; if (start != null) { break; } } } if ((start != null) && (end != null)) { start.method_30(A_1); end.method_30(A_1); } }
internal void method_6(BookmarkStart A_0) { int num = 0x13; if (this[A_0.Name] != null) { A_0.method_30(A_0.Name + BookmarkStart.b("昸", num) + Guid.NewGuid().ToString()); A_0.RemoveSelf(); } else { Bookmark bookmark = new Bookmark(A_0); this.method_5(bookmark); } }