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.SyntaxElementReader
extends [netstandard]System.Object
{
.field private class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken[] source
.field private int32 pos
.field private class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition[] definitions
.method public hidebysig specialname rtspecialname instance void .ctor(
class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken> src,
class [netstandard]System.Collections.Generic.IEnumerable`1<class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition> defs
) cil managed
{
.maxstack 8
ldarg.0
ldc.i4.0
stfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader::pos
ldarg.0
call instance void [netstandard]System.Object::.ctor()
nop
nop
ldarg.0
ldarg.1
call !!0[] [netstandard]System.Linq.Enumerable::ToArray<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken>(class [netstandard]System.Collections.Generic.IEnumerable`1<!!0>)
stfld class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::source
ldarg.0
ldarg.2
call !!0[] [netstandard]System.Linq.Enumerable::ToArray<class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition>(class [netstandard]System.Collections.Generic.IEnumerable`1<!!0>)
stfld class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::definitions
ret
}
.method private hidebysig instance class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken Read() cil managed
{
.maxstack 3
.locals init (class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken V_0,
bool V_1,
class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken V_2)
nop
ldarg.0
ldfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader::pos
ldarg.0
ldfld class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::source
ldlen
conv.i4
clt
ldc.i4.0
ceq
stloc.1
ldloc.1
brfalse.s IL_0001
ldnull
stloc.2
br.s IL_0002
IL_0001: ldarg.0
ldfld class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::source
ldarg.0
ldfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader::pos
ldelem.ref
stloc.0
ldarg.0
ldarg.0
ldfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader::pos
ldc.i4.1
add
stfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader::pos
ldloc.0
stloc.2
br.s IL_0002
IL_0002: ldloc.2
ret
}
.method public hidebysig instance class CilBrowser.Core.SyntaxModel.SyntaxElement ReadElement() cil managed
{
.maxstack 3
.locals init (class CilBrowser.Core.SyntaxModel.SyntaxElement V_0,
class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition V_1,
bool V_2,
class CilBrowser.Core.SyntaxModel.SyntaxElement V_3,
int32 V_4,
bool V_5,
bool V_6,
bool V_7,
class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken V_8,
bool V_9,
int32 V_10,
bool V_11,
bool V_12,
bool V_13,
class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken V_14,
bool V_15,
bool V_16,
bool V_17)
nop
ldarg.0
ldfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader::pos
ldarg.0
ldfld class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::source
ldlen
conv.i4
clt
ldc.i4.0
ceq
stloc.2
ldloc.2
brfalse.s IL_0001
ldnull
stloc.3
br IL_0020
IL_0001: newobj instance void CilBrowser.Core.SyntaxModel.SyntaxElement::.ctor()
stloc.0
ldnull
stloc.1
ldc.i4.0
stloc.s V_4
br.s IL_0004
IL_0002: nop
ldarg.0
ldfld class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::definitions
ldloc.s V_4
ldelem.ref
ldarg.0
ldfld class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::source
ldarg.0
ldfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader::pos
callvirt instance bool CilBrowser.Core.SyntaxModel.SyntaxElementDefinition::HasStart(class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken[], int32)
stloc.s V_5
ldloc.s V_5
brfalse.s IL_0003
nop
ldarg.0
ldfld class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::definitions
ldloc.s V_4
ldelem.ref
stloc.1
br.s IL_0005
IL_0003: nop
ldloc.s V_4
ldc.i4.1
add
stloc.s V_4
IL_0004: ldloc.s V_4
ldarg.0
ldfld class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::definitions
ldlen
conv.i4
clt
stloc.s V_6
ldloc.s V_6
brtrue.s IL_0002
IL_0005: ldloc.1
ldnull
ceq
stloc.s V_7
ldloc.s V_7
brfalse.s IL_0013
nop
br.s IL_0011
IL_0006: nop
ldarg.0
call instance class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken CilBrowser.Core.SyntaxModel.SyntaxElementReader::Read()
stloc.s V_8
ldloc.s V_8
ldnull
ceq
stloc.s V_9
ldloc.s V_9
brfalse.s IL_0007
br.s IL_0012
IL_0007: ldloc.0
ldloc.s V_8
callvirt instance void CilBrowser.Core.SyntaxModel.SyntaxElement::Add(class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken)
nop
ldc.i4.0
stloc.s V_10
br.s IL_0010
IL_0008: nop
ldarg.0
ldfld class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::definitions
ldloc.s V_10
ldelem.ref
ldarg.0
ldfld class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::source
ldarg.0
ldfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader::pos
callvirt instance bool CilBrowser.Core.SyntaxModel.SyntaxElementDefinition::HasStart(class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken[], int32)
stloc.s V_11
ldloc.s V_11
brfalse.s IL_0009
ldloc.0
stloc.3
br.s IL_0020
IL_0009: nop
ldloc.s V_10
ldc.i4.1
add
stloc.s V_10
IL_0010: ldloc.s V_10
ldarg.0
ldfld class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::definitions
ldlen
conv.i4
clt
stloc.s V_12
ldloc.s V_12
brtrue.s IL_0008
nop
IL_0011: ldc.i4.1
stloc.s V_13
br.s IL_0006
IL_0012: nop
br.s IL_0019
IL_0013: nop
ldloc.0
ldloc.1
callvirt instance valuetype CilBrowser.Core.SyntaxModel.SyntaxKind CilBrowser.Core.SyntaxModel.SyntaxElementDefinition::get_Kind()
callvirt instance void CilBrowser.Core.SyntaxModel.SyntaxElement::set_Kind(valuetype CilBrowser.Core.SyntaxModel.SyntaxKind)
nop
br.s IL_0017
IL_0014: nop
ldarg.0
call instance class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken CilBrowser.Core.SyntaxModel.SyntaxElementReader::Read()
stloc.s V_14
ldloc.s V_14
ldnull
ceq
stloc.s V_15
ldloc.s V_15
brfalse.s IL_0015
br.s IL_0018
IL_0015: ldloc.0
ldloc.s V_14
callvirt instance void CilBrowser.Core.SyntaxModel.SyntaxElement::Add(class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken)
nop
ldloc.1
ldarg.0
ldfld class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken[] CilBrowser.Core.SyntaxModel.SyntaxElementReader::source
ldarg.0
ldfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader::pos
callvirt instance bool CilBrowser.Core.SyntaxModel.SyntaxElementDefinition::HasEnd(class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken[], int32)
stloc.s V_16
ldloc.s V_16
brfalse.s IL_0016
nop
br.s IL_0018
IL_0016: nop
IL_0017: ldc.i4.1
stloc.s V_17
br.s IL_0014
IL_0018: nop
IL_0019: ldloc.0
stloc.3
br.s IL_0020
IL_0020: ldloc.3
ret
}
.method public hidebysig instance class [netstandard]System.Collections.Generic.IEnumerable`1<class CilBrowser.Core.SyntaxModel.SyntaxElement> ReadAll() cil managed
{
.custom instance void [netstandard]System.Runtime.CompilerServices.IteratorStateMachineAttribute::.ctor(class [netstandard]System.Type) = ( 01 00 3D 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 52 65 61 64 65 72 2B 3C 52 65 61 64 41 6C 6C 3E 64 5F 5F 36 00 00 )
.maxstack 8
ldc.i4.s -2
newobj instance void CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::.ctor(int32)
dup
ldarg.0
stfld class CilBrowser.Core.SyntaxModel.SyntaxElementReader CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<>4__this'
ret
}
.method public hidebysig static class CilBrowser.Core.SyntaxModel.SyntaxElement[] ParseElements(
class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken> src,
class [netstandard]System.Collections.Generic.IEnumerable`1<class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition> defs
) cil managed
{
.maxstack 2
.locals init (class CilBrowser.Core.SyntaxModel.SyntaxElementReader V_0,
class CilBrowser.Core.SyntaxModel.SyntaxElement[] V_1)
nop
ldarg.0
ldarg.1
newobj instance void CilBrowser.Core.SyntaxModel.SyntaxElementReader::.ctor(class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken>, class [netstandard]System.Collections.Generic.IEnumerable`1<class CilBrowser.Core.SyntaxModel.SyntaxElementDefinition>)
stloc.0
ldloc.0
callvirt instance class [netstandard]System.Collections.Generic.IEnumerable`1<class CilBrowser.Core.SyntaxModel.SyntaxElement> CilBrowser.Core.SyntaxModel.SyntaxElementReader::ReadAll()
call !!0[] [netstandard]System.Linq.Enumerable::ToArray<class CilBrowser.Core.SyntaxModel.SyntaxElement>(class [netstandard]System.Collections.Generic.IEnumerable`1<!!0>)
stloc.1
br.s IL_0001
IL_0001: ldloc.1
ret
}
.class nested private auto ansi sealed beforefieldinit '<ReadAll>d__6'
extends [netstandard]System.Object
implements class [netstandard]System.Collections.Generic.IEnumerable`1<class CilBrowser.Core.SyntaxModel.SyntaxElement>,
[netstandard]System.Collections.IEnumerable,
class [netstandard]System.Collections.Generic.IEnumerator`1<class CilBrowser.Core.SyntaxModel.SyntaxElement>,
[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 CilBrowser.Core.SyntaxModel.SyntaxElement '<>2__current'
.field private int32 '<>l__initialThreadId'
.field public class CilBrowser.Core.SyntaxModel.SyntaxElementReader '<>4__this'
.field private class CilBrowser.Core.SyntaxModel.SyntaxElement '<x>5__1'
.property instance class CilBrowser.Core.SyntaxModel.SyntaxElement 'System.Collections.Generic.IEnumerator<CilBrowser.Core.SyntaxModel.SyntaxElement>.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.SyntaxElementReader/'<ReadAll>d__6'::'<>1__state'
ldarg.0
call int32 [netstandard]System.Environment::get_CurrentManagedThreadId()
stfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>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 2
.locals init (int32 V_0,
bool V_1,
bool V_2)
ldarg.0
ldfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>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_0008
IL_0004: ldc.i4.0
ret
IL_0005: ldarg.0
ldc.i4.m1
stfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<>1__state'
nop
br.s IL_0009
IL_0006: nop
ldarg.0
ldarg.0
ldfld class CilBrowser.Core.SyntaxModel.SyntaxElementReader CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<>4__this'
call instance class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElementReader::ReadElement()
stfld class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<x>5__1'
ldarg.0
ldfld class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<x>5__1'
ldnull
ceq
stloc.1
ldloc.1
brfalse.s IL_0007
br.s IL_0010
IL_0007: ldarg.0
ldarg.0
ldfld class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<x>5__1'
stfld class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<>2__current'
ldarg.0
ldc.i4.1
stfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<>1__state'
ldc.i4.1
ret
IL_0008: ldarg.0
ldc.i4.m1
stfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<>1__state'
nop
ldarg.0
ldnull
stfld class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<x>5__1'
IL_0009: ldc.i4.1
stloc.2
br.s IL_0006
IL_0010: ldc.i4.0
ret
}
.method private hidebysig newslot virtual final specialname instance class CilBrowser.Core.SyntaxModel.SyntaxElement 'System.Collections.Generic.IEnumerator<CilBrowser.Core.SyntaxModel.SyntaxElement>.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 CilBrowser.Core.SyntaxModel.SyntaxElement>::get_Current()
.maxstack 8
ldarg.0
ldfld class CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>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 CilBrowser.Core.SyntaxModel.SyntaxElement CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<>2__current'
ret
}
.method private hidebysig newslot virtual final instance class [netstandard]System.Collections.Generic.IEnumerator`1<class CilBrowser.Core.SyntaxModel.SyntaxElement> 'System.Collections.Generic.IEnumerable<CilBrowser.Core.SyntaxModel.SyntaxElement>.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 CilBrowser.Core.SyntaxModel.SyntaxElement>::GetEnumerator()
.maxstack 2
.locals init (class CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6' V_0)
ldarg.0
ldfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<>1__state'
ldc.i4.s -2
bne.un.s IL_0001
ldarg.0
ldfld int32 CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>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.SyntaxElementReader/'<ReadAll>d__6'::'<>1__state'
ldarg.0
stloc.0
br.s IL_0002
IL_0001: ldc.i4.0
newobj instance void CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::.ctor(int32)
stloc.0
ldloc.0
ldarg.0
ldfld class CilBrowser.Core.SyntaxModel.SyntaxElementReader CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'<>4__this'
stfld class CilBrowser.Core.SyntaxModel.SyntaxElementReader CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>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 CilBrowser.Core.SyntaxModel.SyntaxElement> CilBrowser.Core.SyntaxModel.SyntaxElementReader/'<ReadAll>d__6'::'System.Collections.Generic.IEnumerable<CilBrowser.Core.SyntaxModel.SyntaxElement>.GetEnumerator'()
ret
}
}
}
|