.NET CIL Browser - CilBrowser.Core

Type: CilBrowser.Core.SyntaxModel.SyntaxElement

Types in CilBrowser.Core.SyntaxModel namespace:

SourceParser

SyntaxElement

<EnumerateChildNodes>d__6

SyntaxElementDefinition

<get_End>d__7

<get_Start>d__5

SyntaxElementReader

<ReadAll>d__6

SyntaxFilter

SyntaxKind

SyntaxProvider

.class public auto ansi beforefieldinit CilBrowser.Core.SyntaxModel.SyntaxElement
extends [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode
{

 .field private class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken> tokens
 .field private valuetype CilBrowser.Core.SyntaxModel.SyntaxKind '<Kind>k__BackingField'
 .custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
 .custom instance void [netstandard]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [netstandard]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 )


 .property instance valuetype CilBrowser.Core.SyntaxModel.SyntaxKind Kind()
 {
  .get instance valuetype CilBrowser.Core.SyntaxModel.SyntaxKind CilBrowser.Core.SyntaxModel.SyntaxElement::get_Kind()
  .set instance void CilBrowser.Core.SyntaxModel.SyntaxElement::set_Kind(valuetype CilBrowser.Core.SyntaxModel.SyntaxKind)
 }

 .method public hidebysig specialname rtspecialname instance void .ctor() cil managed
 {
  .maxstack  8

           ldarg.0      
           newobj       instance void class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken>::.ctor()
           stfld        class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken> CilBrowser.Core.SyntaxModel.SyntaxElement::tokens
           ldarg.0      
           call         instance void [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode::.ctor()
           nop          
           ret          
 }

 .method public hidebysig specialname instance valuetype CilBrowser.Core.SyntaxModel.SyntaxKind get_Kind() cil managed
 {
  .custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
  .maxstack  8

           ldarg.0      
           ldfld        valuetype CilBrowser.Core.SyntaxModel.SyntaxKind CilBrowser.Core.SyntaxModel.SyntaxElement::'<Kind>k__BackingField'
           ret          
 }

 .method public hidebysig specialname instance void set_Kind(
     valuetype CilBrowser.Core.SyntaxModel.SyntaxKind 'value'
 ) cil managed
 {
  .custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
  .maxstack  8

           ldarg.0      
           ldarg.1      
           stfld        valuetype CilBrowser.Core.SyntaxModel.SyntaxKind CilBrowser.Core.SyntaxModel.SyntaxElement::'<Kind>k__BackingField'
           ret          
 }

 .method public hidebysig instance void Add(
     class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken token
 ) cil managed
 {
  .maxstack  8

           nop          
           ldarg.0      
           ldfld        class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken> CilBrowser.Core.SyntaxModel.SyntaxElement::tokens
           ldarg.1      
           callvirt     instance void class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken>::Add(!0)
           nop          
           ret          
 }

 .method public hidebysig virtual instance class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode> EnumerateChildNodes() cil managed
 {
  .custom instance void [netstandard]System.Runtime.CompilerServices.IteratorStateMachineAttribute::.ctor(class [netstandard]System.Type) = ( 01 00 43 43 69 6C 42 72 6F 77 73 65 72 2E 43 6F 72 65 2E 53 79 6E 74 61 78 4D 6F 64 65 6C 2E 53 79 6E 74 61 78 45 6C 65 6D 65 6E 74 2B 3C 45 6E 75 6D 65 72 61 74 65 43 68 69 6C 64 4E 6F 64 65 73 3E 64 5F 5F 36 00 00 )
  .maxstack  8

           ldc.i4.s     -2
           newobj       instance void CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::.ctor(int32)
           dup          
           ldarg.0      
           stfld        class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>4__this'
           ret          
 }

 .method public hidebysig virtual instance void ToText(
     class [netstandard]System.IO.TextWriter target
 ) cil managed
 {
  .maxstack  2
  .locals  init (int32 V_0,
     bool V_1)

           nop          
           ldc.i4.0     
           stloc.0      
           br.s         IL_0002
  IL_0001: nop          
           ldarg.0      
           ldfld        class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken> CilBrowser.Core.SyntaxModel.SyntaxElement::tokens
           ldloc.0      
           callvirt     instance !0 class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken>::get_Item(int32)
           ldarg.1      
           callvirt     instance void [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode::ToText(class [netstandard]System.IO.TextWriter)
           nop          
           nop          
           ldloc.0      
           ldc.i4.1     
           add          
           stloc.0      
  IL_0002: ldloc.0      
           ldarg.0      
           ldfld        class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken> CilBrowser.Core.SyntaxModel.SyntaxElement::tokens
           callvirt     instance int32 class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken>::get_Count()
           clt          
           stloc.1      
           ldloc.1      
           brtrue.s     IL_0001
           ldarg.1      
           callvirt     instance void [netstandard]System.IO.TextWriter::Flush()
           nop          
           ret          
 }

 .class nested private auto ansi sealed beforefieldinit '<EnumerateChildNodes>d__6'
 extends [netstandard]System.Object
 implements class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode>,
[netstandard]System.Collections.IEnumerable,
class [netstandard]System.Collections.Generic.IEnumerator`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode>,
[netstandard]System.Collections.IEnumerator,
[netstandard]System.IDisposable
 {
  .custom instance void [netstandard]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )

  .field private int32 '<>1__state'
  .field private class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode '<>2__current'
  .field private int32 '<>l__initialThreadId'
  .field public class CilBrowser.Core.SyntaxModel.SyntaxElement '<>4__this'
  .field private int32 '<i>5__1'

  .property instance class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode 'System.Collections.Generic.IEnumerator<CilTools.Syntax.SyntaxNode>.Current'()
  {
  }

  .property instance object System.Collections.IEnumerator.Current()
  {
  }

  .method public hidebysig specialname rtspecialname instance void .ctor(
      int32 '<>1__state'
  ) cil managed
  {
   .custom instance void [netstandard]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
   .maxstack  8

            ldarg.0      
            call         instance void [netstandard]System.Object::.ctor()
            nop          
            ldarg.0      
            ldarg.1      
            stfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>1__state'
            ldarg.0      
            call         int32 [netstandard]System.Environment::get_CurrentManagedThreadId()
            stfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>l__initialThreadId'
            ret          
  }

  .method private hidebysig newslot virtual final instance void System.IDisposable.Dispose() cil managed
  {
   .custom instance void [netstandard]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
   .override [netstandard]System.IDisposable::Dispose
   .maxstack  8

            ret          
  }

  .method private hidebysig newslot virtual final instance bool MoveNext() cil managed
  {
   .override [netstandard]System.Collections.IEnumerator::MoveNext
   .maxstack  3
   .locals  init (int32 V_0,
      int32 V_1,
      bool V_2)

            ldarg.0      
            ldfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>1__state'
            stloc.0      
            ldloc.0      
            brfalse.s    IL_0002
            br.s         IL_0001
   IL_0001: ldloc.0      
            ldc.i4.1     
            beq.s        IL_0003
            br.s         IL_0004
   IL_0002: br.s         IL_0005
   IL_0003: br.s         IL_0007
   IL_0004: ldc.i4.0     
            ret          
   IL_0005: ldarg.0      
            ldc.i4.m1    
            stfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>1__state'
            nop          
            ldarg.0      
            ldc.i4.0     
            stfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<i>5__1'
            br.s         IL_0008
   IL_0006: nop          
            ldarg.0      
            ldarg.0      
            ldfld        class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>4__this'
            ldfld        class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken> CilBrowser.Core.SyntaxModel.SyntaxElement::tokens
            ldarg.0      
            ldfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<i>5__1'
            callvirt     instance !0 class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken>::get_Item(int32)
            stfld        class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>2__current'
            ldarg.0      
            ldc.i4.1     
            stfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>1__state'
            ldc.i4.1     
            ret          
   IL_0007: ldarg.0      
            ldc.i4.m1    
            stfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>1__state'
            nop          
            ldarg.0      
            ldfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<i>5__1'
            stloc.1      
            ldarg.0      
            ldloc.1      
            ldc.i4.1     
            add          
            stfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<i>5__1'
   IL_0008: ldarg.0      
            ldfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<i>5__1'
            ldarg.0      
            ldfld        class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>4__this'
            ldfld        class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken> CilBrowser.Core.SyntaxModel.SyntaxElement::tokens
            callvirt     instance int32 class [netstandard]System.Collections.Generic.List`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken>::get_Count()
            clt          
            stloc.2      
            ldloc.2      
            brtrue.s     IL_0006
            ldc.i4.0     
            ret          
  }

  .method private hidebysig newslot virtual final specialname instance class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode 'System.Collections.Generic.IEnumerator<CilTools.Syntax.SyntaxNode>.get_Current'() cil managed
  {
   .custom instance void [netstandard]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
   .override method instance !0 class [netstandard]System.Collections.Generic.IEnumerator`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode>::get_Current()
   .maxstack  8

            ldarg.0      
            ldfld        class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>2__current'
            ret          
  }

  .method private hidebysig newslot virtual final instance void System.Collections.IEnumerator.Reset() cil managed
  {
   .custom instance void [netstandard]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
   .override [netstandard]System.Collections.IEnumerator::Reset
   .maxstack  8

            newobj       instance void [netstandard]System.NotSupportedException::.ctor()
            throw        
  }

  .method private hidebysig newslot virtual final specialname instance object System.Collections.IEnumerator.get_Current() cil managed
  {
   .custom instance void [netstandard]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
   .override [netstandard]System.Collections.IEnumerator::get_Current
   .maxstack  8

            ldarg.0      
            ldfld        class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>2__current'
            ret          
  }

  .method private hidebysig newslot virtual final instance class [netstandard]System.Collections.Generic.IEnumerator`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode> 'System.Collections.Generic.IEnumerable<CilTools.Syntax.SyntaxNode>.GetEnumerator'() cil managed
  {
   .custom instance void [netstandard]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
   .override method instance class [netstandard]System.Collections.Generic.IEnumerator`1<!0> class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode>::GetEnumerator()
   .maxstack  2
   .locals  init (class CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6' V_0)

            ldarg.0      
            ldfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>1__state'
            ldc.i4.s     -2
            bne.un.s     IL_0001
            ldarg.0      
            ldfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>l__initialThreadId'
            call         int32 [netstandard]System.Environment::get_CurrentManagedThreadId()
            bne.un.s     IL_0001
            ldarg.0      
            ldc.i4.0     
            stfld        int32 CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>1__state'
            ldarg.0      
            stloc.0      
            br.s         IL_0002
   IL_0001: ldc.i4.0     
            newobj       instance void CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::.ctor(int32)
            stloc.0      
            ldloc.0      
            ldarg.0      
            ldfld        class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>4__this'
            stfld        class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'<>4__this'
   IL_0002: ldloc.0      
            ret          
  }

  .method private hidebysig newslot virtual final instance class [netstandard]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() cil managed
  {
   .custom instance void [netstandard]System.Diagnostics.DebuggerHiddenAttribute::.ctor() = ( 01 00 00 00 )
   .override [netstandard]System.Collections.IEnumerable::GetEnumerator
   .maxstack  8

            ldarg.0      
            call         instance class [netstandard]System.Collections.Generic.IEnumerator`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode> CilBrowser.Core.SyntaxModel.SyntaxElement/'<EnumerateChildNodes>d__6'::'System.Collections.Generic.IEnumerable<CilTools.Syntax.SyntaxNode>.GetEnumerator'()
            ret          
  }

 }

}

Back to table of contents


Generated by CIL Browser