Share Pastebin
Guest
Public paste!

generated

By: a guest | Feb 26th, 2010 | Syntax: C# | Size: 2.55 KB | Hits: 534 | Expires: Never
Copy text to clipboard
  1. private unsafe bool MoveNext()
  2. {
  3.     FeedQuery q;
  4.     bool CS$1$0000;
  5.     int CS$4$0001;
  6.     bool CS$4$0002;
  7. Label_0000:
  8.     try
  9.     {
  10.         CS$4$0001 = this.<>1__state;
  11.         switch (CS$4$0001)
  12.         {
  13.             case 0:
  14.                 goto Label_0020;
  15.  
  16.             case 1:
  17.                 goto Label_0022;
  18.  
  19.             case 2:
  20.                 goto Label_001B;
  21.         }
  22.         goto Label_0022;
  23.     Label_001B:
  24.         goto Label_012A;
  25.     Label_0020:
  26.         goto Label_0027;
  27.     Label_0022:
  28.         goto Label_01EC;
  29.     Label_0027:
  30.         this.<>1__state = -1;
  31.         if (((this.<>4__this.AtomFeed == null) == 0) != null)
  32.         {
  33.             goto Label_0049;
  34.         }
  35.         goto Label_01EC;
  36.     Label_0049:
  37.         this.<originalFeed>5__2 = this.<>4__this.AtomFeed;
  38.         this.<>4__this.numberRetrieved = 0;
  39.     Label_0066:
  40.         this.<looping>5__1 = (this.<>4__this.af.NextChunk == null) ? 0 : this.<>4__this.paging;
  41.         this.<>7__wrap5 = this.<>4__this.af.Entries.GetEnumerator();
  42.         this.<>1__state = 1;
  43.         goto Label_016D;
  44.     Label_00B5:
  45.         this.<e>5__3 = this.<>7__wrap5.Current;
  46.         this.<t>5__4 = Activator.CreateInstance<T>();
  47.         if ((((T) this.<t>5__4) == null) != null)
  48.         {
  49.             goto Label_0132;
  50.         }
  51.         &this.<t>5__4.AtomEntry = this.<e>5__3;
  52.         this.<>4__this.numberRetrieved += 1;
  53.         this.<>2__current = this.<t>5__4;
  54.         this.<>1__state = 2;
  55.         CS$1$0000 = 1;
  56.         goto Label_01F9;
  57.     Label_012A:
  58.         this.<>1__state = 1;
  59.     Label_0132:
  60.         if (((this.<>4__this.Maximum <= 0) ? 1 : (this.<>4__this.numberRetrieved < this.<>4__this.Maximum)) != null)
  61.         {
  62.             goto Label_016C;
  63.         }
  64.         this.System.IDisposable.Dispose();
  65.         goto Label_01EC;
  66.     Label_016C:;
  67.     Label_016D:
  68.         if (this.<>7__wrap5.MoveNext() != null)
  69.         {
  70.             goto Label_00B5;
  71.         }
  72.         this.<>m__Finally6();
  73.         if ((this.<looping>5__1 == 0) != null)
  74.         {
  75.             goto Label_01CC;
  76.         }
  77.         q = new FeedQuery(this.<>4__this.AtomFeed.NextChunk);
  78.         this.<>4__this.af = this.<>4__this.AtomFeed.Service.Query(q);
  79.     Label_01CC:
  80.         if (this.<looping>5__1 != null)
  81.         {
  82.             goto Label_0066;
  83.         }
  84.         this.<>4__this.af = this.<originalFeed>5__2;
  85.     Label_01EC:
  86.         CS$1$0000 = 0;
  87.         goto Label_01F9;
  88.     }
  89.     fault
  90.     {
  91.     Label_01F1:
  92.         this.System.IDisposable.Dispose();
  93.     }
  94. Label_01F9:
  95.     return CS$1$0000;
  96. }