Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- internal class TxtProperty : IEnumerable
- {
- private SortedList<int , TxtReader.TxtPropertyIndex> fd0000 = new SortedList<int , TxtReader.TxtPropertyIndex>( );
- private string fd0001;
- public TxtProperty ( string name )
- {
- this.Name = name;
- }
- public void AddIndex ( TxtReader.TxtPropertyIndex propIndex )
- {
- this.fd0000.Add( propIndex.Index , propIndex );
- }
- public IEnumerator GetEnumerator ( )
- {
- return new scl0000( 0 ) { fdXX4__this = this };
- }
- public int [ ] GetIndexArray ( )
- {
- return this.fd0000.Keys.ToArray<int>( );
- }
- public bool HaveIndex ( int index )
- {
- return this.fd0000.ContainsKey( index );
- }
- public TxtReader.TxtPropertyIndex this [ int index ]
- {
- get
- {
- return this.fd0000 [ index ];
- }
- }
- public string Name
- {
- get
- {
- return this.fd0001;
- }
- private set
- {
- this.fd0001 = value;
- }
- }
- private sealed class scl0000 : IDisposable , IEnumerator<object> , IEnumerator
- {
- private object fd0000;
- private int fd0001;
- public KeyValuePair<int , TxtReader.TxtPropertyIndex> fdXpropIndexX5__1;
- public TxtReader.TxtProperty fdXX4__this;
- public IEnumerator<KeyValuePair<int , TxtReader.TxtPropertyIndex>> fdXX7__wrap2;
- public scl0000 ( int mdXX1__state )
- {
- this.fd0001 = mdXX1__state;
- }
- private void mdXXm__Finally3 ( )
- {
- this.fd0001 = -1;
- if ( this.fdXX7__wrap2 != null )
- {
- this.fdXX7__wrap2.Dispose( );
- }
- }
- bool IEnumerator.MoveNext ( )
- {
- try
- {
- switch ( this.fd0001 )
- {
- case 0:
- this.fd0001 = -1;
- this.fdXX7__wrap2 = this.fdXX4__this.fd0000.GetEnumerator( );
- this.fd0001 = 1;
- break;
- case 2:
- this.fd0001 = 1;
- break;
- default:
- goto Label_005B;
- }
- if ( this.fdXX7__wrap2.MoveNext( ) )
- {
- goto Label_005F;
- }
- this.mdXXm__Finally3( );
- Label_005B:
- return false;
- Label_005F:
- this.fdXpropIndexX5__1 = this.fdXX7__wrap2.Current;
- this.fd0000 = this.fdXpropIndexX5__1.Value;
- this.fd0001 = 2;
- return true;
- }
- catch
- {
- mdXXm__Finally3( );
- }
- return false;
- }
- void IEnumerator.Reset ( )
- {
- throw new NotSupportedException( );
- }
- void IDisposable.Dispose ( )
- {
- switch ( this.fd0001 )
- {
- case 1:
- case 2:
- try
- {
- }
- finally
- {
- this.mdXXm__Finally3( );
- }
- return;
- }
- }
- object IEnumerator<object>.Current
- {
- get
- {
- return this.fd0000;
- }
- }
- object IEnumerator.Current
- {
- get
- {
- return this.fd0000;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement