Пример #1
0
 IEnumerator <FileListItem> IEnumerable <FileListItem> .GetEnumerator()
 {
     return(new FileListItemEnumerator(collection.GetEnumerator()));
 }
Пример #2
0
        private void method_3(object sender, EventArgs e)
        {
            int    num;
            int    num4;
            object obj;

            try
            {
IL_01:
                ProjectData.ClearProjectError();
                num = -2;
IL_09:
                int num2 = 2;
                this.Hide();
IL_11:
                num2 = 3;
                ListView.SelectedListViewItemCollection selectedItems = this.ListView1.SelectedItems;
IL_20:
                num2 = 4;
                IEnumerator enumerator = selectedItems.GetEnumerator();
                while (enumerator.MoveNext())
                {
                    ListViewItem listViewItem = (ListViewItem)enumerator.Current;
IL_41:
                    num2 = 5;
                    string text = listViewItem.SubItems[2].Text;
IL_55:
                    num2 = 6;
                    DocumentCollectionExtension.Open(Application.DocumentManager, text, false);
IL_64:
                    num2 = 7;
                    if (Information.Err().Number > 0)
                    {
IL_75:
                        num2 = 8;
                        this.Show();
                    }
                    else
                    {
IL_7F:
                        num2 = 10;
IL_82:
                        num2 = 11;
                        this.Close();
                    }
IL_8B:
                    num2 = 13;
                }
                if (enumerator is IDisposable)
                {
                    (enumerator as IDisposable).Dispose();
                }
IL_AB:
                goto IL_13E;
IL_B0:
                int num3 = num4 + 1;
                num4     = 0;
                @switch(ICSharpCode.Decompiler.ILAst.ILLabel[], num3);
IL_F8:
                goto IL_133;
IL_FA:
                num4 = num2;
                if (num <= -2)
                {
                    goto IL_B0;
                }
                @switch(ICSharpCode.Decompiler.ILAst.ILLabel[], num);
                IL_110 :;
            }
            catch when(endfilter(obj is Exception & num != 0 & num4 == 0))
            {
                Exception ex = (Exception)obj2;

                goto IL_FA;
            }
IL_133:
            throw ProjectData.CreateProjectError(-2146828237);
IL_13E:
            if (num4 != 0)
            {
                ProjectData.ClearProjectError();
            }
        }