Types in CilBrowser.Core namespace: AssemblyServer CilBrowserOptions FileUtils HtmlAttribute HtmlBuilder HtmlGenerator ServerBase SourceServer Utils WebsiteGenerator |
.class public auto ansi beforefieldinit CilBrowser.Core.HtmlGenerator
extends [netstandard]System.Object
{
.field private class [netstandard]System.Reflection.Assembly _ass
.field private string _nsFilter
.field private string _customFooter
.field private static literal string Footer = "Generated by <a href=\042https://github.com/MSDN-WhiteKnight/CilBrowser\042>CIL Browser</a>"
.field private static literal string GlobalStyles = ".memberid { color: rgb(43, 145, 175); text-decoration: none; }"
.property instance string CustomFooter()
{
.get instance string CilBrowser.Core.HtmlGenerator::get_CustomFooter()
.set instance void CilBrowser.Core.HtmlGenerator::set_CustomFooter(string)
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed
{
.maxstack 8
ldarg.0
call instance void [netstandard]System.Object::.ctor()
nop
nop
ldarg.0
ldnull
stfld class [netstandard]System.Reflection.Assembly CilBrowser.Core.HtmlGenerator::_ass
ldarg.0
ldsfld string [netstandard]System.String::Empty
stfld string CilBrowser.Core.HtmlGenerator::_nsFilter
ldarg.0
ldsfld string [netstandard]System.String::Empty
stfld string CilBrowser.Core.HtmlGenerator::_customFooter
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor(
class [netstandard]System.Reflection.Assembly ass
) cil managed
{
.maxstack 8
ldarg.0
call instance void [netstandard]System.Object::.ctor()
nop
nop
ldarg.0
ldarg.1
stfld class [netstandard]System.Reflection.Assembly CilBrowser.Core.HtmlGenerator::_ass
ldarg.0
ldsfld string [netstandard]System.String::Empty
stfld string CilBrowser.Core.HtmlGenerator::_nsFilter
ldarg.0
ldsfld string [netstandard]System.String::Empty
stfld string CilBrowser.Core.HtmlGenerator::_customFooter
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor(
class [netstandard]System.Reflection.Assembly ass,
string ns,
string footer
) cil managed
{
.maxstack 2
.locals init (bool V_0,
bool V_1)
ldarg.0
call instance void [netstandard]System.Object::.ctor()
nop
nop
ldarg.2
ldnull
ceq
stloc.0
ldloc.0
brfalse.s IL_0001
ldsfld string [netstandard]System.String::Empty
starg.s 2
IL_0001: ldarg.3
ldnull
ceq
stloc.1
ldloc.1
brfalse.s IL_0002
ldsfld string [netstandard]System.String::Empty
starg.s 3
IL_0002: ldarg.0
ldarg.1
stfld class [netstandard]System.Reflection.Assembly CilBrowser.Core.HtmlGenerator::_ass
ldarg.0
ldarg.2
stfld string CilBrowser.Core.HtmlGenerator::_nsFilter
ldarg.0
ldarg.3
stfld string CilBrowser.Core.HtmlGenerator::_customFooter
ret
}
.method public hidebysig specialname instance string get_CustomFooter() cil managed
{
.maxstack 1
.locals init (string V_0)
nop
ldarg.0
ldfld string CilBrowser.Core.HtmlGenerator::_customFooter
stloc.0
br.s IL_0001
IL_0001: ldloc.0
ret
}
.method public hidebysig specialname instance void set_CustomFooter(
string 'value'
) cil managed
{
.maxstack 8
nop
ldarg.0
ldarg.1
stfld string CilBrowser.Core.HtmlGenerator::_customFooter
ret
}
.method private hidebysig static bool IsMethodInAssembly(
class [netstandard]System.Reflection.MethodBase mb,
class [netstandard]System.Reflection.Assembly ass
) cil managed
{
.maxstack 2
.locals init (class [netstandard]System.Type V_0,
bool V_1,
bool V_2)
nop
ldarg.0
ldnull
call bool [netstandard]System.Reflection.MethodBase::op_Equality(class [netstandard]System.Reflection.MethodBase, class [netstandard]System.Reflection.MethodBase)
brtrue.s IL_0001
ldarg.1
ldnull
call bool [netstandard]System.Reflection.Assembly::op_Equality(class [netstandard]System.Reflection.Assembly, class [netstandard]System.Reflection.Assembly)
br.s IL_0002
IL_0001: ldc.i4.1
IL_0002: stloc.1
ldloc.1
brfalse.s IL_0003
ldc.i4.0
stloc.2
br.s IL_0004
IL_0003: ldarg.0
callvirt instance class [netstandard]System.Type [netstandard]System.Reflection.MemberInfo::get_DeclaringType()
stloc.0
ldloc.0
ldarg.1
call bool CilBrowser.Core.Utils::IsTypeInAssembly(class [netstandard]System.Type, class [netstandard]System.Reflection.Assembly)
stloc.2
br.s IL_0004
IL_0004: ldloc.2
ret
}
.method private hidebysig static bool IsNameToken(
class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode node
) cil managed
{
.maxstack 2
.locals init (class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken V_0,
bool V_1,
bool V_2)
nop
ldarg.0
isinst [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken
stloc.0
ldloc.0
ldnull
ceq
stloc.1
ldloc.1
brfalse.s IL_0001
ldc.i4.0
stloc.2
br.s IL_0002
IL_0001: ldloc.0
callvirt instance valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken::get_Kind()
ldc.i4.1
ceq
stloc.2
br.s IL_0002
IL_0002: ldloc.2
ret
}
.method private hidebysig instance void VisualizeNode(
class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode node,
class CilBrowser.Core.HtmlBuilder target
) cil managed
{
.maxstack 5
.locals init (class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] V_0,
class CilBrowser.Core.HtmlAttribute[] V_1,
bool V_2,
bool V_3,
class CilBrowser.Core.SyntaxModel.SyntaxElement V_4,
bool V_5,
class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] V_6,
int32 V_7,
bool V_8,
int32 V_9,
bool V_10,
bool V_11,
class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] V_12,
int32 V_13,
class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode V_14,
class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] V_15,
int32 V_16,
class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode V_17,
bool V_18,
class [CilTools.BytecodeAnalysis]CilTools.Syntax.KeywordSyntax V_19,
bool V_20,
bool V_21,
bool V_22,
class [CilTools.BytecodeAnalysis]CilTools.Syntax.IdentifierSyntax V_23,
string V_24,
class [netstandard]System.Collections.Generic.List`1<class CilBrowser.Core.HtmlAttribute> V_25,
bool V_26,
bool V_27,
class [netstandard]System.Type V_28,
bool V_29,
bool V_30,
class [netstandard]System.Reflection.MethodBase V_31,
bool V_32,
bool V_33,
bool V_34,
class [CilTools.BytecodeAnalysis]CilTools.Syntax.LiteralSyntax V_35,
bool V_36,
bool V_37,
bool V_38,
class [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken V_39,
valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind V_40,
valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind V_41)
nop
ldarg.1
callvirt instance class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode::GetChildNodes()
stloc.0
ldloc.0
ldlen
ldc.i4.0
cgt.un
stloc.2
ldloc.2
brfalse IL_0019
nop
ldarg.1
isinst CilBrowser.Core.SyntaxModel.SyntaxElement
ldnull
cgt.un
stloc.3
ldloc.3
brfalse IL_0015
nop
ldarg.1
castclass CilBrowser.Core.SyntaxModel.SyntaxElement
stloc.s V_4
ldloc.s V_4
callvirt instance valuetype CilBrowser.Core.SyntaxModel.SyntaxKind CilBrowser.Core.SyntaxModel.SyntaxElement::get_Kind()
ldc.i4.1
beq.s IL_0001
ldloc.s V_4
callvirt instance valuetype CilBrowser.Core.SyntaxModel.SyntaxKind CilBrowser.Core.SyntaxModel.SyntaxElement::get_Kind()
ldc.i4.2
ceq
br.s IL_0002
IL_0001: ldc.i4.1
IL_0002: stloc.s V_5
ldloc.s V_5
brfalse IL_0011
nop
ldloc.s V_4
callvirt instance class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode::GetChildNodes()
stloc.s V_6
ldloc.s V_4
callvirt instance valuetype CilBrowser.Core.SyntaxModel.SyntaxKind CilBrowser.Core.SyntaxModel.SyntaxElement::get_Kind()
ldc.i4.1
ceq
stloc.s V_8
ldloc.s V_8
brfalse.s IL_0003
ldc.i4.1
stloc.s V_7
br.s IL_0004
IL_0003: ldc.i4.2
stloc.s V_7
IL_0004: ldc.i4.0
stloc.s V_9
br.s IL_0010
IL_0005: nop
ldloc.s V_9
ldloc.s V_7
bne.un.s IL_0006
ldloc.s V_6
ldloc.s V_9
ldelem.ref
call bool CilBrowser.Core.HtmlGenerator::IsNameToken(class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode)
br.s IL_0007
IL_0006: ldc.i4.0
IL_0007: stloc.s V_10
ldloc.s V_10
brfalse.s IL_0008
nop
ldarg.2
ldstr "span"
ldloc.s V_6
ldloc.s V_9
ldelem.ref
callvirt instance string [netstandard]System.Object::ToString()
ldstr "style"
ldstr "color: blue;"
call class CilBrowser.Core.HtmlAttribute[] CilBrowser.Core.HtmlBuilder::OneAttribute(string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string, class CilBrowser.Core.HtmlAttribute[])
nop
nop
br.s IL_0009
IL_0008: nop
ldarg.0
ldloc.s V_6
ldloc.s V_9
ldelem.ref
ldarg.2
call instance void CilBrowser.Core.HtmlGenerator::VisualizeNode(class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode, class CilBrowser.Core.HtmlBuilder)
nop
nop
IL_0009: nop
ldloc.s V_9
ldc.i4.1
add
stloc.s V_9
IL_0010: ldloc.s V_9
ldloc.s V_6
ldlen
conv.i4
clt
stloc.s V_11
ldloc.s V_11
brtrue.s IL_0005
nop
br.s IL_0014
IL_0011: nop
nop
ldloc.0
stloc.s V_12
ldc.i4.0
stloc.s V_13
br.s IL_0013
IL_0012: ldloc.s V_12
ldloc.s V_13
ldelem.ref
stloc.s V_14
ldarg.0
ldloc.s V_14
ldarg.2
call instance void CilBrowser.Core.HtmlGenerator::VisualizeNode(class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode, class CilBrowser.Core.HtmlBuilder)
nop
ldloc.s V_13
ldc.i4.1
add
stloc.s V_13
IL_0013: ldloc.s V_13
ldloc.s V_12
ldlen
conv.i4
blt.s IL_0012
nop
IL_0014: nop
br.s IL_0018
IL_0015: nop
nop
ldloc.0
stloc.s V_15
ldc.i4.0
stloc.s V_16
br.s IL_0017
IL_0016: ldloc.s V_15
ldloc.s V_16
ldelem.ref
stloc.s V_17
ldarg.0
ldloc.s V_17
ldarg.2
call instance void CilBrowser.Core.HtmlGenerator::VisualizeNode(class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode, class CilBrowser.Core.HtmlBuilder)
nop
ldloc.s V_16
ldc.i4.1
add
stloc.s V_16
IL_0017: ldloc.s V_16
ldloc.s V_15
ldlen
conv.i4
blt.s IL_0016
nop
IL_0018: nop
br IL_0054
IL_0019: ldarg.1
isinst [CilTools.BytecodeAnalysis]CilTools.Syntax.KeywordSyntax
ldnull
cgt.un
stloc.s V_18
ldloc.s V_18
brfalse IL_0023
nop
ldarg.1
castclass [CilTools.BytecodeAnalysis]CilTools.Syntax.KeywordSyntax
stloc.s V_19
ldloc.s V_19
callvirt instance valuetype [CilTools.BytecodeAnalysis]CilTools.Syntax.KeywordKind [CilTools.BytecodeAnalysis]CilTools.Syntax.KeywordSyntax::get_Kind()
ldc.i4.1
ceq
stloc.s V_20
ldloc.s V_20
brfalse.s IL_0020
nop
ldc.i4.1
newarr CilBrowser.Core.HtmlAttribute
stloc.1
ldloc.1
ldc.i4.0
ldstr "style"
ldstr "color: magenta;"
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
stelem.ref
nop
br.s IL_0022
IL_0020: ldloc.s V_19
callvirt instance valuetype [CilTools.BytecodeAnalysis]CilTools.Syntax.KeywordKind [CilTools.BytecodeAnalysis]CilTools.Syntax.KeywordSyntax::get_Kind()
ldc.i4.0
ceq
stloc.s V_21
ldloc.s V_21
brfalse.s IL_0021
nop
ldc.i4.1
newarr CilBrowser.Core.HtmlAttribute
stloc.1
ldloc.1
ldc.i4.0
ldstr "style"
ldstr "color: blue;"
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
stelem.ref
nop
br.s IL_0022
IL_0021: ldc.i4.0
newarr CilBrowser.Core.HtmlAttribute
stloc.1
IL_0022: ldarg.2
ldstr "span"
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
ldloc.1
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string, class CilBrowser.Core.HtmlAttribute[])
nop
nop
br IL_0054
IL_0023: ldarg.1
isinst [CilTools.BytecodeAnalysis]CilTools.Syntax.IdentifierSyntax
ldnull
cgt.un
stloc.s V_22
ldloc.s V_22
brfalse IL_0040
nop
ldarg.1
castclass [CilTools.BytecodeAnalysis]CilTools.Syntax.IdentifierSyntax
stloc.s V_23
ldc.i4.5
newobj instance void class [netstandard]System.Collections.Generic.List`1<class CilBrowser.Core.HtmlAttribute>::.ctor(int32)
stloc.s V_25
ldloc.s V_23
callvirt instance bool [CilTools.BytecodeAnalysis]CilTools.Syntax.IdentifierSyntax::get_IsMemberName()
stloc.s V_26
ldloc.s V_26
brfalse IL_0038
nop
ldloc.s V_23
callvirt instance class [netstandard]System.Reflection.MemberInfo [CilTools.BytecodeAnalysis]CilTools.Syntax.IdentifierSyntax::get_TargetMember()
isinst [netstandard]System.Type
ldnull
cgt.un
stloc.s V_27
ldloc.s V_27
brfalse.s IL_0028
nop
ldloc.s V_23
callvirt instance class [netstandard]System.Reflection.MemberInfo [CilTools.BytecodeAnalysis]CilTools.Syntax.IdentifierSyntax::get_TargetMember()
castclass [netstandard]System.Type
stloc.s V_28
ldloc.s V_28
ldarg.0
ldfld class [netstandard]System.Reflection.Assembly CilBrowser.Core.HtmlGenerator::_ass
call bool CilBrowser.Core.Utils::IsTypeInAssembly(class [netstandard]System.Type, class [netstandard]System.Reflection.Assembly)
brfalse.s IL_0024
ldloc.s V_28
ldarg.0
ldfld string CilBrowser.Core.HtmlGenerator::_nsFilter
call bool CilBrowser.Core.Utils::IsMatchingNamespaceFilter(class [netstandard]System.Type, string)
br.s IL_0025
IL_0024: ldc.i4.0
IL_0025: stloc.s V_29
ldloc.s V_29
brfalse.s IL_0026
nop
ldstr "a"
stloc.s V_24
ldloc.s V_25
ldstr "href"
ldloc.s V_28
call string CilBrowser.Core.HtmlGenerator::GenerateTypeFileName(class [netstandard]System.Type)
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
callvirt instance void class [netstandard]System.Collections.Generic.List`1<class CilBrowser.Core.HtmlAttribute>::Add(!0)
nop
nop
br.s IL_0027
IL_0026: nop
ldstr "span"
stloc.s V_24
nop
IL_0027: nop
br IL_0037
IL_0028: ldloc.s V_23
callvirt instance class [netstandard]System.Reflection.MemberInfo [CilTools.BytecodeAnalysis]CilTools.Syntax.IdentifierSyntax::get_TargetMember()
isinst [netstandard]System.Reflection.MethodBase
ldnull
cgt.un
stloc.s V_30
ldloc.s V_30
brfalse IL_0036
nop
ldloc.s V_23
callvirt instance class [netstandard]System.Reflection.MemberInfo [CilTools.BytecodeAnalysis]CilTools.Syntax.IdentifierSyntax::get_TargetMember()
castclass [netstandard]System.Reflection.MethodBase
stloc.s V_31
ldarg.1
callvirt instance class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode::get_Parent()
isinst [CilTools.BytecodeAnalysis]CilTools.Syntax.DirectiveSyntax
brfalse.s IL_0029
ldarg.1
callvirt instance class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode::get_Parent()
castclass [CilTools.BytecodeAnalysis]CilTools.Syntax.DirectiveSyntax
callvirt instance string [CilTools.BytecodeAnalysis]CilTools.Syntax.DirectiveSyntax::get_Name()
ldstr "method"
call bool CilBrowser.Core.Utils::StrEquals(string, string)
br.s IL_0030
IL_0029: ldc.i4.0
IL_0030: stloc.s V_32
ldloc.s V_32
brfalse.s IL_0031
nop
ldstr "a"
stloc.s V_24
ldloc.s V_25
ldstr "name"
ldloc.s V_31
call string CilBrowser.Core.HtmlGenerator::GenerateMethodAnchor(class [netstandard]System.Reflection.MethodBase)
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
callvirt instance void class [netstandard]System.Collections.Generic.List`1<class CilBrowser.Core.HtmlAttribute>::Add(!0)
nop
ldloc.s V_25
ldstr "href"
ldloc.s V_31
call string CilBrowser.Core.HtmlGenerator::GenerateMethodURL(class [netstandard]System.Reflection.MethodBase)
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
callvirt instance void class [netstandard]System.Collections.Generic.List`1<class CilBrowser.Core.HtmlAttribute>::Add(!0)
nop
nop
br.s IL_0035
IL_0031: ldloc.s V_31
ldarg.0
ldfld class [netstandard]System.Reflection.Assembly CilBrowser.Core.HtmlGenerator::_ass
call bool CilBrowser.Core.HtmlGenerator::IsMethodInAssembly(class [netstandard]System.Reflection.MethodBase, class [netstandard]System.Reflection.Assembly)
brfalse.s IL_0032
ldloc.s V_31
callvirt instance class [netstandard]System.Type [netstandard]System.Reflection.MemberInfo::get_DeclaringType()
ldarg.0
ldfld string CilBrowser.Core.HtmlGenerator::_nsFilter
call bool CilBrowser.Core.Utils::IsMatchingNamespaceFilter(class [netstandard]System.Type, string)
br.s IL_0033
IL_0032: ldc.i4.0
IL_0033: stloc.s V_33
ldloc.s V_33
brfalse.s IL_0034
nop
ldstr "a"
stloc.s V_24
ldloc.s V_25
ldstr "href"
ldloc.s V_31
call string CilBrowser.Core.HtmlGenerator::GenerateMethodURL(class [netstandard]System.Reflection.MethodBase)
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
callvirt instance void class [netstandard]System.Collections.Generic.List`1<class CilBrowser.Core.HtmlAttribute>::Add(!0)
nop
nop
br.s IL_0035
IL_0034: nop
ldstr "span"
stloc.s V_24
nop
IL_0035: nop
br.s IL_0037
IL_0036: ldstr "span"
stloc.s V_24
IL_0037: ldloc.s V_25
ldstr "class"
ldstr "memberid"
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
callvirt instance void class [netstandard]System.Collections.Generic.List`1<class CilBrowser.Core.HtmlAttribute>::Add(!0)
nop
nop
br.s IL_0039
IL_0038: ldstr "span"
stloc.s V_24
IL_0039: ldarg.2
ldloc.s V_24
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
ldloc.s V_25
callvirt instance !0[] class [netstandard]System.Collections.Generic.List`1<class CilBrowser.Core.HtmlAttribute>::ToArray()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string, class CilBrowser.Core.HtmlAttribute[])
nop
nop
br IL_0054
IL_0040: ldarg.1
isinst [CilTools.BytecodeAnalysis]CilTools.Syntax.LiteralSyntax
ldnull
cgt.un
stloc.s V_34
ldloc.s V_34
brfalse.s IL_0043
nop
ldarg.1
castclass [CilTools.BytecodeAnalysis]CilTools.Syntax.LiteralSyntax
stloc.s V_35
ldloc.s V_35
callvirt instance object [CilTools.BytecodeAnalysis]CilTools.Syntax.LiteralSyntax::get_Value()
isinst [netstandard]System.String
ldnull
cgt.un
stloc.s V_36
ldloc.s V_36
brfalse.s IL_0041
nop
ldc.i4.1
newarr CilBrowser.Core.HtmlAttribute
stloc.1
ldloc.1
ldc.i4.0
ldstr "style"
ldstr "color: red;"
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
stelem.ref
nop
br.s IL_0042
IL_0041: ldc.i4.0
newarr CilBrowser.Core.HtmlAttribute
stloc.1
IL_0042: ldarg.2
ldstr "span"
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
ldloc.1
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string, class CilBrowser.Core.HtmlAttribute[])
nop
nop
br IL_0054
IL_0043: ldarg.1
isinst [CilTools.BytecodeAnalysis]CilTools.Syntax.CommentSyntax
ldnull
cgt.un
stloc.s V_37
ldloc.s V_37
brfalse.s IL_0044
nop
ldc.i4.1
newarr CilBrowser.Core.HtmlAttribute
stloc.1
ldloc.1
ldc.i4.0
ldstr "style"
ldstr "color: green;"
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
stelem.ref
ldarg.2
ldstr "span"
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
ldloc.1
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string, class CilBrowser.Core.HtmlAttribute[])
nop
nop
br IL_0054
IL_0044: ldarg.1
isinst [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken
ldnull
cgt.un
stloc.s V_38
ldloc.s V_38
brfalse IL_0053
nop
ldarg.1
castclass [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken
stloc.s V_39
ldloc.s V_39
callvirt instance valuetype [CilTools.SourceCode]CilTools.SourceCode.Common.TokenKind [CilTools.SourceCode]CilTools.SourceCode.Common.SourceToken::get_Kind()
stloc.s V_41
ldloc.s V_41
stloc.s V_40
ldloc.s V_40
ldc.i4.4
sub
switch (IL_0045,IL_0051,IL_0047,IL_0046,IL_0048,IL_0051,IL_0049,IL_0050)
br IL_0051
IL_0045: ldarg.2
ldstr "span"
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
ldstr "style"
ldstr "color: blue;"
call class CilBrowser.Core.HtmlAttribute[] CilBrowser.Core.HtmlBuilder::OneAttribute(string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string, class CilBrowser.Core.HtmlAttribute[])
nop
br IL_0052
IL_0046: ldarg.2
ldstr "span"
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
ldstr "style"
ldstr "color: red;"
call class CilBrowser.Core.HtmlAttribute[] CilBrowser.Core.HtmlBuilder::OneAttribute(string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string, class CilBrowser.Core.HtmlAttribute[])
nop
br IL_0052
IL_0047: ldarg.2
ldstr "span"
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
ldstr "style"
ldstr "color: red;"
call class CilBrowser.Core.HtmlAttribute[] CilBrowser.Core.HtmlBuilder::OneAttribute(string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string, class CilBrowser.Core.HtmlAttribute[])
nop
br.s IL_0052
IL_0048: ldarg.2
ldstr "span"
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
ldstr "style"
ldstr "color: red;"
call class CilBrowser.Core.HtmlAttribute[] CilBrowser.Core.HtmlBuilder::OneAttribute(string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string, class CilBrowser.Core.HtmlAttribute[])
nop
br.s IL_0052
IL_0049: ldarg.2
ldstr "span"
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
ldstr "style"
ldstr "color: green;"
call class CilBrowser.Core.HtmlAttribute[] CilBrowser.Core.HtmlBuilder::OneAttribute(string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string, class CilBrowser.Core.HtmlAttribute[])
nop
br.s IL_0052
IL_0050: ldarg.2
ldstr "span"
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
ldstr "style"
ldstr "color: green;"
call class CilBrowser.Core.HtmlAttribute[] CilBrowser.Core.HtmlBuilder::OneAttribute(string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string, class CilBrowser.Core.HtmlAttribute[])
nop
br.s IL_0052
IL_0051: ldarg.2
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteEscaped(string)
nop
br.s IL_0052
IL_0052: nop
br.s IL_0054
IL_0053: nop
ldarg.2
ldarg.1
callvirt instance string [netstandard]System.Object::ToString()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteEscaped(string)
nop
nop
IL_0054: ret
}
.method private hidebysig instance void WriteHeaderHTML(
class CilBrowser.Core.HtmlBuilder target
) cil managed
{
.maxstack 3
.locals init (bool V_0)
nop
ldarg.1
callvirt instance void CilBrowser.Core.HtmlBuilder::StartParagraph()
nop
ldarg.1
ldstr ".NET CIL Browser"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteEscaped(string)
nop
ldarg.1
ldstr " - "
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteRaw(string)
nop
ldarg.0
ldfld class [netstandard]System.Reflection.Assembly CilBrowser.Core.HtmlGenerator::_ass
ldnull
call bool [netstandard]System.Reflection.Assembly::op_Inequality(class [netstandard]System.Reflection.Assembly, class [netstandard]System.Reflection.Assembly)
stloc.0
ldloc.0
brfalse.s IL_0001
nop
ldarg.1
ldstr "index.html"
ldarg.0
ldfld class [netstandard]System.Reflection.Assembly CilBrowser.Core.HtmlGenerator::_ass
callvirt instance class [netstandard]System.Reflection.AssemblyName [netstandard]System.Reflection.Assembly::GetName()
callvirt instance string [netstandard]System.Reflection.AssemblyName::get_Name()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteHyperlink(string, string)
nop
nop
br.s IL_0002
IL_0001: nop
ldarg.1
ldstr "index.html"
ldstr "Back to table of contents"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteHyperlink(string, string)
nop
nop
IL_0002: ldarg.1
callvirt instance void CilBrowser.Core.HtmlBuilder::EndParagraph()
nop
ldarg.1
call string [netstandard]System.Environment::get_NewLine()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteRaw(string)
nop
ret
}
.method private hidebysig instance void WriteLayoutStart(
class CilBrowser.Core.HtmlBuilder target,
string title,
string navigation
) cil managed
{
.maxstack 7
.locals init (bool V_0)
nop
ldarg.1
ldarg.2
ldstr ".memberid { color: rgb(43, 145, 175); text-decoration: none; }"
callvirt instance void CilBrowser.Core.HtmlBuilder::StartDocument(string, string)
nop
ldarg.0
ldarg.1
call instance void CilBrowser.Core.HtmlGenerator::WriteHeaderHTML(class CilBrowser.Core.HtmlBuilder)
nop
ldarg.1
ldstr "h2"
ldarg.2
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.1
ldstr "table"
ldc.i4.3
newarr CilBrowser.Core.HtmlAttribute
dup
ldc.i4.0
ldstr "width"
ldstr "100%"
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
stelem.ref
dup
ldc.i4.1
ldstr "cellpadding"
ldstr "5"
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
stelem.ref
dup
ldc.i4.2
ldstr "cellspacing"
ldstr "5"
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
stelem.ref
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string, class CilBrowser.Core.HtmlAttribute[])
nop
ldarg.1
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string)
nop
ldarg.3
call bool [netstandard]System.String::IsNullOrEmpty(string)
ldc.i4.0
ceq
stloc.0
ldloc.0
brfalse.s IL_0001
nop
ldarg.1
ldstr "td"
ldc.i4.3
newarr CilBrowser.Core.HtmlAttribute
dup
ldc.i4.0
ldstr "width"
ldstr "200"
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
stelem.ref
dup
ldc.i4.1
ldstr "valign"
ldstr "top"
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
stelem.ref
dup
ldc.i4.2
ldstr "style"
ldstr "border: thin solid;"
newobj instance void CilBrowser.Core.HtmlAttribute::.ctor(string, string)
stelem.ref
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string, class CilBrowser.Core.HtmlAttribute[])
nop
ldarg.1
ldarg.3
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteRaw(string)
nop
ldarg.1
ldstr "td"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
ldarg.1
call string [netstandard]System.Environment::get_NewLine()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteRaw(string)
nop
nop
IL_0001: ldarg.1
ldstr "td"
ldstr "valign"
ldstr "top"
call class CilBrowser.Core.HtmlAttribute[] CilBrowser.Core.HtmlBuilder::OneAttribute(string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string, class CilBrowser.Core.HtmlAttribute[])
nop
ret
}
.method private hidebysig instance void WriteLayoutEnd(
class CilBrowser.Core.HtmlBuilder target
) cil managed
{
.maxstack 3
nop
ldarg.1
ldstr "td"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
ldarg.1
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
ldarg.1
ldstr "table"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
ldarg.1
callvirt instance void CilBrowser.Core.HtmlBuilder::StartParagraph()
nop
ldarg.1
ldstr "index.html"
ldstr "Back to table of contents"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteHyperlink(string, string)
nop
ldarg.1
callvirt instance void CilBrowser.Core.HtmlBuilder::EndParagraph()
nop
ldarg.0
ldarg.1
call instance void CilBrowser.Core.HtmlGenerator::WriteFooter(class CilBrowser.Core.HtmlBuilder)
nop
ldarg.1
callvirt instance void CilBrowser.Core.HtmlBuilder::EndDocument()
nop
ret
}
.method public hidebysig instance void VisualizeSyntaxNodes(
class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode> nodes,
class CilBrowser.Core.HtmlBuilder target
) cil managed
{
.maxstack 4
.locals init (class [netstandard]System.Collections.Generic.IEnumerator`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode> V_0,
class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode V_1)
nop
ldarg.2
ldstr "pre"
ldstr "style"
ldstr "white-space: pre-wrap;"
call class CilBrowser.Core.HtmlAttribute[] CilBrowser.Core.HtmlBuilder::OneAttribute(string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string, class CilBrowser.Core.HtmlAttribute[])
nop
ldarg.2
ldstr "code"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string)
nop
nop
ldarg.1
callvirt instance class [netstandard]System.Collections.Generic.IEnumerator`1<!0> class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode>::GetEnumerator()
stloc.0
.try
{
br.s IL_0002
IL_0001: ldloc.0
callvirt instance !0 class [netstandard]System.Collections.Generic.IEnumerator`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode>::get_Current()
stloc.1
ldarg.0
ldloc.1
ldarg.2
call instance void CilBrowser.Core.HtmlGenerator::VisualizeNode(class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode, class CilBrowser.Core.HtmlBuilder)
nop
IL_0002: ldloc.0
callvirt instance bool [netstandard]System.Collections.IEnumerator::MoveNext()
brtrue.s IL_0001
leave.s IL_0004
}
finally
{
ldloc.0
brfalse.s IL_0003
ldloc.0
callvirt instance void [netstandard]System.IDisposable::Dispose()
nop
IL_0003: endfinally
}
IL_0004: ldarg.2
ldstr "code"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
ldarg.2
ldstr "pre"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
ret
}
.method public hidebysig static string VisualizeMethod(
class [netstandard]System.Reflection.MethodBase mb
) cil managed
{
.maxstack 4
.locals init (class [CilTools.BytecodeAnalysis]CilTools.BytecodeAnalysis.CilGraph V_0,
class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] V_1,
class CilBrowser.Core.HtmlGenerator V_2,
class [netstandard]System.Text.StringBuilder V_3,
class CilBrowser.Core.HtmlBuilder V_4,
string V_5)
nop
ldarg.0
call class [CilTools.BytecodeAnalysis]CilTools.BytecodeAnalysis.CilGraph [CilTools.BytecodeAnalysis]CilTools.BytecodeAnalysis.CilGraph::Create(class [netstandard]System.Reflection.MethodBase)
stloc.0
ldc.i4.1
newarr [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode
dup
ldc.i4.0
ldloc.0
callvirt instance class [CilTools.BytecodeAnalysis]CilTools.Syntax.MethodDefSyntax [CilTools.BytecodeAnalysis]CilTools.BytecodeAnalysis.CilGraph::ToSyntaxTree()
stelem.ref
stloc.1
newobj instance void CilBrowser.Core.HtmlGenerator::.ctor()
stloc.2
ldc.i4 5000
newobj instance void [netstandard]System.Text.StringBuilder::.ctor(int32)
stloc.3
ldloc.3
newobj instance void CilBrowser.Core.HtmlBuilder::.ctor(class [netstandard]System.Text.StringBuilder)
stloc.s V_4
ldloc.2
ldloc.s V_4
ldstr "Method: "
ldarg.0
callvirt instance string [netstandard]System.Reflection.MemberInfo::get_Name()
call string [netstandard]System.String::Concat(string, string)
ldsfld string [netstandard]System.String::Empty
callvirt instance void CilBrowser.Core.HtmlGenerator::WriteLayoutStart(class CilBrowser.Core.HtmlBuilder, string, string)
nop
ldloc.2
ldloc.1
ldloc.s V_4
callvirt instance void CilBrowser.Core.HtmlGenerator::VisualizeSyntaxNodes(class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode>, class CilBrowser.Core.HtmlBuilder)
nop
ldloc.2
ldloc.s V_4
callvirt instance void CilBrowser.Core.HtmlGenerator::WriteLayoutEnd(class CilBrowser.Core.HtmlBuilder)
nop
ldloc.3
callvirt instance string [netstandard]System.Object::ToString()
stloc.s V_5
br.s IL_0001
IL_0001: ldloc.s V_5
ret
}
.method private hidebysig static string VisualizeNavigationPanel(
class [netstandard]System.Type t,
class [netstandard]System.Collections.Generic.Dictionary`2<string, class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>> typeMap
) cil managed
{
.maxstack 4
.locals init (class [netstandard]System.Text.StringBuilder V_0,
class CilBrowser.Core.HtmlBuilder V_1,
string V_2,
class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type> V_3,
bool V_4,
bool V_5,
bool V_6,
int32 V_7,
bool V_8,
bool V_9,
string V_10)
nop
ldc.i4 1000
newobj instance void [netstandard]System.Text.StringBuilder::.ctor(int32)
stloc.0
ldloc.0
newobj instance void CilBrowser.Core.HtmlBuilder::.ctor(class [netstandard]System.Text.StringBuilder)
stloc.1
ldarg.0
callvirt instance string [netstandard]System.Type::get_Namespace()
stloc.2
ldloc.2
ldnull
ceq
stloc.s V_4
ldloc.s V_4
brfalse.s IL_0001
ldsfld string [netstandard]System.String::Empty
stloc.2
IL_0001: ldarg.1
ldloc.2
callvirt instance bool class [netstandard]System.Collections.Generic.Dictionary`2<string, class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>>::ContainsKey(!0)
stloc.s V_5
ldloc.s V_5
brfalse.s IL_0002
ldarg.1
ldloc.2
callvirt instance !1 class [netstandard]System.Collections.Generic.Dictionary`2<string, class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>>::get_Item(!0)
stloc.3
br.s IL_0003
IL_0002: newobj instance void class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>::.ctor()
stloc.3
IL_0003: ldloc.2
callvirt instance int32 [netstandard]System.String::get_Length()
ldc.i4.0
cgt
stloc.s V_6
ldloc.s V_6
brfalse.s IL_0004
nop
ldloc.1
ldstr "Types in "
ldloc.2
ldstr " namespace:"
call string [netstandard]System.String::Concat(string, string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteParagraph(string)
nop
nop
br.s IL_0005
IL_0004: nop
ldloc.1
ldstr "Types without namespace:"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteParagraph(string)
nop
nop
IL_0005: ldc.i4.0
stloc.s V_7
br.s IL_0009
IL_0006: nop
ldloc.1
callvirt instance void CilBrowser.Core.HtmlBuilder::StartParagraph()
nop
ldloc.3
ldloc.s V_7
callvirt instance !0 class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>::get_Item(int32)
callvirt instance string [netstandard]System.Type::get_FullName()
ldarg.0
callvirt instance string [netstandard]System.Type::get_FullName()
call bool CilBrowser.Core.Utils::StrEquals(string, string)
stloc.s V_8
ldloc.s V_8
brfalse.s IL_0007
nop
ldloc.1
ldstr "b"
ldloc.3
ldloc.s V_7
callvirt instance !0 class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>::get_Item(int32)
callvirt instance string [netstandard]System.Reflection.MemberInfo::get_Name()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
nop
br.s IL_0008
IL_0007: nop
ldloc.1
ldloc.3
ldloc.s V_7
callvirt instance !0 class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>::get_Item(int32)
call string CilBrowser.Core.HtmlGenerator::GenerateTypeFileName(class [netstandard]System.Type)
ldloc.3
ldloc.s V_7
callvirt instance !0 class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>::get_Item(int32)
callvirt instance string [netstandard]System.Reflection.MemberInfo::get_Name()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteHyperlink(string, string)
nop
nop
IL_0008: ldloc.1
callvirt instance void CilBrowser.Core.HtmlBuilder::EndParagraph()
nop
nop
ldloc.s V_7
ldc.i4.1
add
stloc.s V_7
IL_0009: ldloc.s V_7
ldloc.3
callvirt instance int32 class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>::get_Count()
clt
stloc.s V_9
ldloc.s V_9
brtrue IL_0006
ldloc.0
callvirt instance string [netstandard]System.Object::ToString()
stloc.s V_10
br.s IL_0010
IL_0010: ldloc.s V_10
ret
}
.method public hidebysig instance string VisualizeType(
class [netstandard]System.Type t,
class [netstandard]System.Collections.Generic.Dictionary`2<string, class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>> typeMap
) cil managed
{
.maxstack 4
.locals init (class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] V_0,
class [netstandard]System.Text.StringBuilder V_1,
class CilBrowser.Core.HtmlBuilder V_2,
string V_3,
bool V_4,
string V_5,
bool V_6,
bool V_7)
nop
ldarg.1
ldc.i4.1
newobj instance void [CilTools.BytecodeAnalysis]CilTools.Syntax.DisassemblerParams::.ctor()
call class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode> [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode::GetTypeDefSyntax(class [netstandard]System.Type, bool, class [CilTools.BytecodeAnalysis]CilTools.Syntax.DisassemblerParams)
call !!0[] [netstandard]System.Linq.Enumerable::ToArray<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode>(class [netstandard]System.Collections.Generic.IEnumerable`1<!!0>)
stloc.0
ldloc.0
ldlen
ldc.i4.0
ceq
stloc.s V_4
ldloc.s V_4
brfalse.s IL_0001
ldsfld string [netstandard]System.String::Empty
stloc.s V_5
br.s IL_0004
IL_0001: ldloc.0
ldlen
conv.i4
ldc.i4.1
ceq
stloc.s V_6
ldloc.s V_6
brfalse.s IL_0003
nop
ldloc.0
ldc.i4.0
ldelem.ref
callvirt instance string [netstandard]System.Object::ToString()
call bool [netstandard]System.String::IsNullOrWhiteSpace(string)
stloc.s V_7
ldloc.s V_7
brfalse.s IL_0002
ldsfld string [netstandard]System.String::Empty
stloc.s V_5
br.s IL_0004
IL_0002: nop
IL_0003: ldc.i4 5000
newobj instance void [netstandard]System.Text.StringBuilder::.ctor(int32)
stloc.1
ldloc.1
newobj instance void CilBrowser.Core.HtmlBuilder::.ctor(class [netstandard]System.Text.StringBuilder)
stloc.2
ldarg.1
ldarg.2
call string CilBrowser.Core.HtmlGenerator::VisualizeNavigationPanel(class [netstandard]System.Type, class [netstandard]System.Collections.Generic.Dictionary`2<string, class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>>)
stloc.3
ldarg.0
ldloc.2
ldstr "Type: "
ldarg.1
callvirt instance string [netstandard]System.Type::get_FullName()
call string [netstandard]System.String::Concat(string, string)
ldloc.3
call instance void CilBrowser.Core.HtmlGenerator::WriteLayoutStart(class CilBrowser.Core.HtmlBuilder, string, string)
nop
ldarg.0
ldloc.0
ldloc.2
call instance void CilBrowser.Core.HtmlGenerator::VisualizeSyntaxNodes(class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode>, class CilBrowser.Core.HtmlBuilder)
nop
ldarg.0
ldloc.2
call instance void CilBrowser.Core.HtmlGenerator::WriteLayoutEnd(class CilBrowser.Core.HtmlBuilder)
nop
ldloc.1
callvirt instance string [netstandard]System.Object::ToString()
stloc.s V_5
br.s IL_0004
IL_0004: ldloc.s V_5
ret
}
.method public hidebysig instance string VisualizeAssemblyManifest(
class [netstandard]System.Reflection.Assembly ass
) cil managed
{
.maxstack 4
.locals init (class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode> V_0,
class [netstandard]System.Text.StringBuilder V_1,
class CilBrowser.Core.HtmlBuilder V_2,
string V_3)
nop
ldarg.1
call class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode> [CilTools.BytecodeAnalysis]CilTools.Syntax.Disassembler::GetAssemblyManifestSyntaxNodes(class [netstandard]System.Reflection.Assembly)
stloc.0
ldc.i4 5000
newobj instance void [netstandard]System.Text.StringBuilder::.ctor(int32)
stloc.1
ldloc.1
newobj instance void CilBrowser.Core.HtmlBuilder::.ctor(class [netstandard]System.Text.StringBuilder)
stloc.2
ldarg.0
ldloc.2
ldstr "Assembly: "
ldarg.1
callvirt instance class [netstandard]System.Reflection.AssemblyName [netstandard]System.Reflection.Assembly::GetName()
callvirt instance string [netstandard]System.Reflection.AssemblyName::get_Name()
call string [netstandard]System.String::Concat(string, string)
ldsfld string [netstandard]System.String::Empty
call instance void CilBrowser.Core.HtmlGenerator::WriteLayoutStart(class CilBrowser.Core.HtmlBuilder, string, string)
nop
ldarg.0
ldloc.0
ldloc.2
call instance void CilBrowser.Core.HtmlGenerator::VisualizeSyntaxNodes(class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode>, class CilBrowser.Core.HtmlBuilder)
nop
ldarg.0
ldloc.2
call instance void CilBrowser.Core.HtmlGenerator::WriteLayoutEnd(class CilBrowser.Core.HtmlBuilder)
nop
ldloc.1
callvirt instance string [netstandard]System.Object::ToString()
stloc.3
br.s IL_0001
IL_0001: ldloc.3
ret
}
.method private hidebysig instance void VisualizeSourceTextImpl(
string content,
string ext,
class CilBrowser.Core.HtmlBuilder html
) cil managed
{
.maxstack 3
.locals init (class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] V_0)
nop
ldarg.1
ldarg.2
call class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode[] CilBrowser.Core.SyntaxModel.SourceParser::Parse(string, string)
stloc.0
ldarg.0
ldloc.0
ldarg.3
call instance void CilBrowser.Core.HtmlGenerator::VisualizeSyntaxNodes(class [netstandard]System.Collections.Generic.IEnumerable`1<class [CilTools.BytecodeAnalysis]CilTools.Syntax.SyntaxNode>, class CilBrowser.Core.HtmlBuilder)
nop
ret
}
.method public hidebysig instance string VisualizeSourceFile(
string content,
string filename,
string navigation,
string sourceControlUrl
) cil managed
{
.maxstack 4
.locals init (string V_0,
class [netstandard]System.Text.StringBuilder V_1,
class CilBrowser.Core.HtmlBuilder V_2,
bool V_3,
string V_4)
nop
ldarg.2
call string [netstandard]System.IO.Path::GetExtension(string)
stloc.0
ldc.i4 5000
newobj instance void [netstandard]System.Text.StringBuilder::.ctor(int32)
stloc.1
ldloc.1
newobj instance void CilBrowser.Core.HtmlBuilder::.ctor(class [netstandard]System.Text.StringBuilder)
stloc.2
ldarg.0
ldloc.2
ldstr "Source file: "
ldarg.2
call string [netstandard]System.String::Concat(string, string)
ldarg.3
call instance void CilBrowser.Core.HtmlGenerator::WriteLayoutStart(class CilBrowser.Core.HtmlBuilder, string, string)
nop
ldarg.0
ldarg.1
ldloc.0
ldloc.2
call instance void CilBrowser.Core.HtmlGenerator::VisualizeSourceTextImpl(string, string, class CilBrowser.Core.HtmlBuilder)
nop
ldarg.s sourceControlUrl
call bool [netstandard]System.String::IsNullOrEmpty(string)
ldc.i4.0
ceq
stloc.3
ldloc.3
brfalse.s IL_0001
nop
ldloc.2
ldarg.s sourceControlUrl
ldarg.2
call string CilBrowser.Core.Utils::UrlAppend(string, string)
ldstr "View in source control"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteHyperlink(string, string)
nop
nop
IL_0001: ldarg.0
ldloc.2
call instance void CilBrowser.Core.HtmlGenerator::WriteLayoutEnd(class CilBrowser.Core.HtmlBuilder)
nop
ldloc.1
callvirt instance string [netstandard]System.Object::ToString()
stloc.s V_4
br.s IL_0002
IL_0002: ldloc.s V_4
ret
}
.method public hidebysig static void RenderSourceText(
string sourceText,
string ext,
class [netstandard]System.IO.TextWriter target
) cil managed
{
.maxstack 4
.locals init (class CilBrowser.Core.HtmlGenerator V_0,
class CilBrowser.Core.HtmlBuilder V_1,
bool V_2,
bool V_3)
nop
ldarg.0
call bool [netstandard]System.String::IsNullOrEmpty(string)
stloc.2
ldloc.2
brfalse.s IL_0001
br.s IL_0003
IL_0001: ldarg.2
ldnull
ceq
stloc.3
ldloc.3
brfalse.s IL_0002
ldstr "target"
newobj instance void [netstandard]System.ArgumentNullException::.ctor(string)
throw
IL_0002: newobj instance void CilBrowser.Core.HtmlGenerator::.ctor()
stloc.0
ldarg.2
newobj instance void CilBrowser.Core.HtmlBuilder::.ctor(class [netstandard]System.IO.TextWriter)
stloc.1
ldloc.0
ldarg.0
ldarg.1
ldloc.1
callvirt instance void CilBrowser.Core.HtmlGenerator::VisualizeSourceTextImpl(string, string, class CilBrowser.Core.HtmlBuilder)
nop
ldarg.2
callvirt instance void [netstandard]System.IO.TextWriter::Flush()
nop
IL_0003: ret
}
.method public hidebysig static string RenderSourceText(
string sourceText,
string ext
) cil managed
{
.maxstack 4
.locals init (class [netstandard]System.Text.StringBuilder V_0,
class [netstandard]System.IO.StringWriter V_1,
class CilBrowser.Core.HtmlGenerator V_2,
class CilBrowser.Core.HtmlBuilder V_3,
bool V_4,
string V_5)
nop
ldarg.0
call bool [netstandard]System.String::IsNullOrEmpty(string)
stloc.s V_4
ldloc.s V_4
brfalse.s IL_0001
ldsfld string [netstandard]System.String::Empty
stloc.s V_5
br.s IL_0002
IL_0001: ldarg.0
callvirt instance int32 [netstandard]System.String::get_Length()
ldc.i4.2
mul
newobj instance void [netstandard]System.Text.StringBuilder::.ctor(int32)
stloc.0
ldloc.0
newobj instance void [netstandard]System.IO.StringWriter::.ctor(class [netstandard]System.Text.StringBuilder)
stloc.1
newobj instance void CilBrowser.Core.HtmlGenerator::.ctor()
stloc.2
ldloc.1
newobj instance void CilBrowser.Core.HtmlBuilder::.ctor(class [netstandard]System.IO.TextWriter)
stloc.3
ldloc.2
ldarg.0
ldarg.1
ldloc.3
callvirt instance void CilBrowser.Core.HtmlGenerator::VisualizeSourceTextImpl(string, string, class CilBrowser.Core.HtmlBuilder)
nop
ldloc.0
callvirt instance string [netstandard]System.Object::ToString()
stloc.s V_5
br.s IL_0002
IL_0002: ldloc.s V_5
ret
}
.method public hidebysig static void GetVisualStyles(
class [netstandard]System.IO.TextWriter target
) cil managed
{
.maxstack 2
.locals init (bool V_0)
nop
ldarg.0
ldnull
ceq
stloc.0
ldloc.0
brfalse.s IL_0001
ldstr "target"
newobj instance void [netstandard]System.ArgumentNullException::.ctor(string)
throw
IL_0001: ldarg.0
ldstr ".memberid { color: rgb(43, 145, 175); text-decoration: none; }"
callvirt instance void [netstandard]System.IO.TextWriter::WriteLine(string)
nop
ldarg.0
callvirt instance void [netstandard]System.IO.TextWriter::Flush()
nop
ret
}
.method public hidebysig static string GetVisualStyles() cil managed
{
.maxstack 1
.locals init (string V_0)
nop
ldstr ".memberid { color: rgb(43, 145, 175); text-decoration: none; }"
stloc.0
br.s IL_0001
IL_0001: ldloc.0
ret
}
.method public hidebysig static string GenerateTypeFileName(
class [netstandard]System.Type t
) cil managed
{
.maxstack 2
.locals init (string V_0)
nop
ldarg.0
call string CilBrowser.Core.HtmlGenerator::GenerateTypeFileNameShort(class [netstandard]System.Type)
ldstr ".html"
call string [netstandard]System.String::Concat(string, string)
stloc.0
br.s IL_0001
IL_0001: ldloc.0
ret
}
.method public hidebysig static string GenerateTypeFileNameShort(
class [netstandard]System.Type t
) cil managed
{
.maxstack 3
.locals init (uint32 V_0,
string V_1)
nop
ldarg.0
callvirt instance int32 [netstandard]System.Reflection.MemberInfo::get_MetadataToken()
stloc.0
ldloca.s V_0
ldstr "X"
call class [netstandard]System.Globalization.CultureInfo [netstandard]System.Globalization.CultureInfo::get_InvariantCulture()
call instance string [netstandard]System.UInt32::ToString(string, class [netstandard]System.IFormatProvider)
stloc.1
br.s IL_0001
IL_0001: ldloc.1
ret
}
.method private hidebysig static string GenerateMethodAnchor(
class [netstandard]System.Reflection.MethodBase mb
) cil managed
{
.maxstack 4
.locals init (uint32 V_0,
string V_1)
nop
ldstr "M"
ldarg.0
callvirt instance int32 [netstandard]System.Reflection.MemberInfo::get_MetadataToken()
stloc.0
ldloca.s V_0
ldstr "X"
call class [netstandard]System.Globalization.CultureInfo [netstandard]System.Globalization.CultureInfo::get_InvariantCulture()
call instance string [netstandard]System.UInt32::ToString(string, class [netstandard]System.IFormatProvider)
call string [netstandard]System.String::Concat(string, string)
stloc.1
br.s IL_0001
IL_0001: ldloc.1
ret
}
.method private hidebysig static string GenerateMethodURL(
class [netstandard]System.Reflection.MethodBase mb
) cil managed
{
.maxstack 3
.locals init (class [netstandard]System.Reflection.MethodBase V_0,
bool V_1,
string V_2,
bool V_3,
class [CilTools.BytecodeAnalysis]CilTools.Reflection.ICustomMethod V_4,
bool V_5)
nop
ldarg.0
callvirt instance class [netstandard]System.Type [netstandard]System.Reflection.MemberInfo::get_DeclaringType()
ldnull
call bool [netstandard]System.Type::op_Equality(class [netstandard]System.Type, class [netstandard]System.Type)
stloc.1
ldloc.1
brfalse.s IL_0001
ldsfld string [netstandard]System.String::Empty
stloc.2
br.s IL_0006
IL_0001: ldarg.0
stloc.0
ldarg.0
callvirt instance bool [netstandard]System.Reflection.MethodBase::get_IsGenericMethod()
brfalse.s IL_0002
ldarg.0
callvirt instance bool [netstandard]System.Reflection.MethodBase::get_IsGenericMethodDefinition()
brtrue.s IL_0002
ldarg.0
isinst [CilTools.BytecodeAnalysis]CilTools.Reflection.ICustomMethod
ldnull
cgt.un
br.s IL_0003
IL_0002: ldc.i4.0
IL_0003: stloc.3
ldloc.3
brfalse.s IL_0005
nop
ldarg.0
castclass [CilTools.BytecodeAnalysis]CilTools.Reflection.ICustomMethod
stloc.s V_4
ldloc.s V_4
callvirt instance class [netstandard]System.Reflection.MethodBase [CilTools.BytecodeAnalysis]CilTools.Reflection.ICustomMethod::GetDefinition()
ldnull
call bool [netstandard]System.Reflection.MethodBase::op_Inequality(class [netstandard]System.Reflection.MethodBase, class [netstandard]System.Reflection.MethodBase)
stloc.s V_5
ldloc.s V_5
brfalse.s IL_0004
ldloc.s V_4
callvirt instance class [netstandard]System.Reflection.MethodBase [CilTools.BytecodeAnalysis]CilTools.Reflection.ICustomMethod::GetDefinition()
stloc.0
IL_0004: nop
IL_0005: ldarg.0
callvirt instance class [netstandard]System.Type [netstandard]System.Reflection.MemberInfo::get_DeclaringType()
call string CilBrowser.Core.HtmlGenerator::GenerateTypeFileName(class [netstandard]System.Type)
ldstr "#"
ldloc.0
call string CilBrowser.Core.HtmlGenerator::GenerateMethodAnchor(class [netstandard]System.Reflection.MethodBase)
call string [netstandard]System.String::Concat(string, string, string)
stloc.2
br.s IL_0006
IL_0006: ldloc.2
ret
}
.method public hidebysig instance void WriteFooter(
class CilBrowser.Core.HtmlBuilder target
) cil managed
{
.maxstack 3
.locals init (bool V_0)
nop
ldarg.1
ldstr "hr"
ldsfld string [netstandard]System.String::Empty
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldfld string CilBrowser.Core.HtmlGenerator::_customFooter
call bool [netstandard]System.String::IsNullOrEmpty(string)
ldc.i4.0
ceq
stloc.0
ldloc.0
brfalse.s IL_0001
nop
ldarg.1
callvirt instance void CilBrowser.Core.HtmlBuilder::StartParagraph()
nop
ldarg.1
ldarg.0
ldfld string CilBrowser.Core.HtmlGenerator::_customFooter
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteRaw(string)
nop
ldarg.1
callvirt instance void CilBrowser.Core.HtmlBuilder::EndParagraph()
nop
nop
IL_0001: ldarg.1
callvirt instance void CilBrowser.Core.HtmlBuilder::StartParagraph()
nop
ldarg.1
ldstr "Generated by <a href=\042https://github.com/MSDN-WhiteKnight/CilBrowser\042>CIL Browser</a>"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteRaw(string)
nop
ldarg.1
callvirt instance void CilBrowser.Core.HtmlBuilder::EndParagraph()
nop
ret
}
.method public hidebysig static string VisualizeException(
class [netstandard]System.Exception ex
) cil managed
{
.maxstack 2
.locals init (class [netstandard]System.Text.StringBuilder V_0,
string V_1)
nop
ldc.i4 500
newobj instance void [netstandard]System.Text.StringBuilder::.ctor(int32)
stloc.0
ldloc.0
ldstr "<pre>"
callvirt instance class [netstandard]System.Text.StringBuilder [netstandard]System.Text.StringBuilder::Append(string)
pop
ldloc.0
ldarg.0
callvirt instance class [netstandard]System.Type [netstandard]System.Exception::GetType()
callvirt instance string [netstandard]System.Object::ToString()
call string [netstandard]System.Net.WebUtility::HtmlEncode(string)
callvirt instance class [netstandard]System.Text.StringBuilder [netstandard]System.Text.StringBuilder::Append(string)
pop
ldloc.0
ldstr ": "
callvirt instance class [netstandard]System.Text.StringBuilder [netstandard]System.Text.StringBuilder::Append(string)
pop
ldloc.0
ldarg.0
callvirt instance string [netstandard]System.Exception::get_Message()
call string [netstandard]System.Net.WebUtility::HtmlEncode(string)
callvirt instance class [netstandard]System.Text.StringBuilder [netstandard]System.Text.StringBuilder::Append(string)
pop
ldloc.0
ldstr "</pre>"
callvirt instance class [netstandard]System.Text.StringBuilder [netstandard]System.Text.StringBuilder::Append(string)
pop
ldloc.0
callvirt instance string [netstandard]System.Object::ToString()
stloc.1
br.s IL_0001
IL_0001: ldloc.1
ret
}
.method private hidebysig static void VisualizeVersionInfo(
class CilBrowser.Core.HtmlBuilder target,
class [netstandard]System.Reflection.Assembly ass
) cil managed
{
.maxstack 4
.locals init (class [netstandard]System.Reflection.AssemblyName V_0,
class [netstandard]System.Diagnostics.FileVersionInfo V_1,
bool V_2,
bool V_3,
class [netstandard]System.Exception V_4,
bool V_5,
bool V_6,
bool V_7,
bool V_8,
bool V_9)
nop
ldarg.1
callvirt instance class [netstandard]System.Reflection.AssemblyName [netstandard]System.Reflection.Assembly::GetName()
stloc.0
ldarg.0
ldstr "table"
ldstr "cellpadding"
ldstr "4"
call class CilBrowser.Core.HtmlAttribute[] CilBrowser.Core.HtmlBuilder::OneAttribute(string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string, class CilBrowser.Core.HtmlAttribute[])
nop
ldloc.0
callvirt instance class [netstandard]System.Version [netstandard]System.Reflection.AssemblyName::get_Version()
ldnull
call bool [netstandard]System.Version::op_Inequality(class [netstandard]System.Version, class [netstandard]System.Version)
stloc.2
ldloc.2
brfalse.s IL_0001
nop
ldarg.0
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string)
nop
ldarg.0
ldstr "td"
ldstr "Assembly version"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldstr "td"
ldloc.0
callvirt instance class [netstandard]System.Version [netstandard]System.Reflection.AssemblyName::get_Version()
callvirt instance string [netstandard]System.Object::ToString()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
nop
IL_0001: ldarg.1
callvirt instance string [netstandard]System.Reflection.Assembly::get_Location()
call bool [netstandard]System.String::IsNullOrEmpty(string)
stloc.3
ldloc.3
brfalse.s IL_0002
nop
ldarg.0
ldstr "table"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
br IL_0008
IL_0002: nop
.try
{
nop
ldarg.1
callvirt instance string [netstandard]System.Reflection.Assembly::get_Location()
call class [netstandard]System.Diagnostics.FileVersionInfo [netstandard]System.Diagnostics.FileVersionInfo::GetVersionInfo(string)
stloc.1
nop
leave.s IL_0003
}
catch [netstandard]System.Exception
{
stloc.s V_4
nop
ldarg.0
ldstr "table"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
ldarg.0
ldstr "Failed to get file version info!"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteParagraph(string)
nop
ldarg.0
ldloc.s V_4
call string CilBrowser.Core.HtmlGenerator::VisualizeException(class [netstandard]System.Exception)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteRaw(string)
nop
ldloc.s V_4
callvirt instance string [netstandard]System.Object::ToString()
call void [netstandard]System.Console::WriteLine(string)
nop
leave IL_0008
}
IL_0003: ldloc.1
callvirt instance string [netstandard]System.Diagnostics.FileVersionInfo::get_FileVersion()
ldnull
cgt.un
stloc.s V_5
ldloc.s V_5
brfalse.s IL_0004
nop
ldarg.0
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string)
nop
ldarg.0
ldstr "td"
ldstr "File version"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldstr "td"
ldloc.1
callvirt instance string [netstandard]System.Diagnostics.FileVersionInfo::get_FileVersion()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
nop
IL_0004: ldloc.1
callvirt instance string [netstandard]System.Diagnostics.FileVersionInfo::get_ProductVersion()
ldnull
cgt.un
stloc.s V_6
ldloc.s V_6
brfalse.s IL_0005
nop
ldarg.0
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string)
nop
ldarg.0
ldstr "td"
ldstr "Product version"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldstr "td"
ldloc.1
callvirt instance string [netstandard]System.Diagnostics.FileVersionInfo::get_ProductVersion()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
nop
IL_0005: ldloc.1
callvirt instance string [netstandard]System.Diagnostics.FileVersionInfo::get_ProductName()
ldnull
cgt.un
stloc.s V_7
ldloc.s V_7
brfalse.s IL_0006
nop
ldarg.0
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string)
nop
ldarg.0
ldstr "td"
ldstr "Product name"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldstr "td"
ldloc.1
callvirt instance string [netstandard]System.Diagnostics.FileVersionInfo::get_ProductName()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
nop
IL_0006: ldloc.1
callvirt instance string [netstandard]System.Diagnostics.FileVersionInfo::get_CompanyName()
ldnull
cgt.un
stloc.s V_8
ldloc.s V_8
brfalse.s IL_0007
nop
ldarg.0
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagStart(string)
nop
ldarg.0
ldstr "td"
ldstr "Vendor"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldstr "td"
ldloc.1
callvirt instance string [netstandard]System.Diagnostics.FileVersionInfo::get_CompanyName()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldstr "tr"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
nop
IL_0007: ldarg.0
ldstr "table"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTagEnd(string)
nop
ldloc.1
callvirt instance string [netstandard]System.Diagnostics.FileVersionInfo::get_LegalCopyright()
call bool [netstandard]System.String::IsNullOrEmpty(string)
ldc.i4.0
ceq
stloc.s V_9
ldloc.s V_9
brfalse.s IL_0008
ldarg.0
ldloc.1
callvirt instance string [netstandard]System.Diagnostics.FileVersionInfo::get_LegalCopyright()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteParagraph(string)
nop
IL_0008: ret
}
.method public hidebysig static void WriteTocStart(
class CilBrowser.Core.HtmlBuilder toc,
class [netstandard]System.Reflection.Assembly ass
) cil managed
{
.maxstack 3
.locals init (class [netstandard]System.Reflection.AssemblyName V_0)
nop
ldarg.1
callvirt instance class [netstandard]System.Reflection.AssemblyName [netstandard]System.Reflection.Assembly::GetName()
stloc.0
ldarg.0
ldstr ".NET CIL Browser - "
ldloc.0
callvirt instance string [netstandard]System.Reflection.AssemblyName::get_Name()
call string [netstandard]System.String::Concat(string, string)
ldstr ".memberid { color: rgb(43, 145, 175); text-decoration: none; }"
callvirt instance void CilBrowser.Core.HtmlBuilder::StartDocument(string, string)
nop
ldarg.0
ldstr ".NET CIL Browser"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteParagraph(string)
nop
ldarg.0
ldstr "h1"
ldloc.0
callvirt instance string [netstandard]System.Reflection.AssemblyName::get_Name()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
ldarg.1
call void CilBrowser.Core.HtmlGenerator::VisualizeVersionInfo(class CilBrowser.Core.HtmlBuilder, class [netstandard]System.Reflection.Assembly)
nop
ldarg.0
call string [netstandard]System.Environment::get_NewLine()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteRaw(string)
nop
ldarg.0
callvirt instance void CilBrowser.Core.HtmlBuilder::StartParagraph()
nop
ldarg.0
ldstr "assembly.html"
ldstr "(Assembly manifest)"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteHyperlink(string, string)
nop
ldarg.0
callvirt instance void CilBrowser.Core.HtmlBuilder::EndParagraph()
nop
ldarg.0
ldstr "Types in assembly: "
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteParagraph(string)
nop
ret
}
.method public hidebysig static void WriteTocStart(
class CilBrowser.Core.HtmlBuilder toc,
string dirName
) cil managed
{
.maxstack 4
nop
ldarg.0
ldstr ".NET CIL Browser - "
ldarg.1
call string [netstandard]System.String::Concat(string, string)
ldstr ".memberid { color: rgb(43, 145, 175); text-decoration: none; }"
callvirt instance void CilBrowser.Core.HtmlBuilder::StartDocument(string, string)
nop
ldarg.0
ldstr ".NET CIL Browser"
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteParagraph(string)
nop
ldarg.0
ldstr "h1"
ldstr "Source directory: "
ldarg.1
call string [netstandard]System.String::Concat(string, string)
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteTag(string, string)
nop
ldarg.0
call string [netstandard]System.Environment::get_NewLine()
callvirt instance void CilBrowser.Core.HtmlBuilder::WriteRaw(string)
nop
ret
}
}
|