.NET CIL Browser - CilBrowser.Core

Type: CilBrowser.Core.Structure.TypeNode

Types in CilBrowser.Core.Structure namespace:

DirectoryNode

<EnumChildNodes>d__16

<get_Directories>d__9

<get_Pages>d__11

FileNode

PageNode

SourceIndexer

TreeNode

TreeNodeKind

TypeNode

.class public auto ansi sealed beforefieldinit CilBrowser.Core.Structure.TypeNode
extends CilBrowser.Core.Structure.PageNode
{

 .field private class [netstandard]System.Type _t
 .field private class [netstandard]System.Collections.Generic.Dictionary`2<string, class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>> _typeMap

 .method public hidebysig specialname rtspecialname instance void .ctor(
     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  8

           ldarg.0      
           call         instance void CilBrowser.Core.Structure.PageNode::.ctor()
           nop          
           nop          
           ldarg.0      
           ldarg.1      
           call         string CilBrowser.Core.HtmlGenerator::GenerateTypeFileNameShort(class [netstandard]System.Type)
           stfld        string CilBrowser.Core.Structure.TreeNode::_name
           ldarg.0      
           ldarg.1      
           callvirt     instance string [netstandard]System.Reflection.MemberInfo::get_Name()
           stfld        string CilBrowser.Core.Structure.TreeNode::_displayName
           ldarg.0      
           ldarg.1      
           stfld        class [netstandard]System.Type CilBrowser.Core.Structure.TypeNode::_t
           ldarg.0      
           ldarg.2      
           stfld        class [netstandard]System.Collections.Generic.Dictionary`2<string, class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>> CilBrowser.Core.Structure.TypeNode::_typeMap
           ret          
 }

 .method public hidebysig virtual instance void Render(
     class CilBrowser.Core.HtmlGenerator generator, 
     class CilBrowser.Core.CilBrowserOptions options, 
     class [netstandard]System.IO.TextWriter target
 ) cil managed
 {
  .maxstack  3
  .locals  init (string V_0,
     class [netstandard]System.NotSupportedException V_1)

           nop          
  .try
  {
            nop          
            ldarg.1      
            ldarg.0      
            ldfld        class [netstandard]System.Type CilBrowser.Core.Structure.TypeNode::_t
            ldarg.0      
            ldfld        class [netstandard]System.Collections.Generic.Dictionary`2<string, class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>> CilBrowser.Core.Structure.TypeNode::_typeMap
            callvirt     instance string CilBrowser.Core.HtmlGenerator::VisualizeType(class [netstandard]System.Type, class [netstandard]System.Collections.Generic.Dictionary`2<string, class [netstandard]System.Collections.Generic.List`1<class [netstandard]System.Type>>)
            stloc.0      
            nop          
            leave.s      IL_0001
  }
  catch [netstandard]System.NotSupportedException
  {
            stloc.1      
            nop          
            ldloc.1      
            call         string CilBrowser.Core.HtmlGenerator::VisualizeException(class [netstandard]System.Exception)
            stloc.0      
            ldstr        "Failed to render HTML for "
            ldarg.0      
            ldfld        class [netstandard]System.Type CilBrowser.Core.Structure.TypeNode::_t
            callvirt     instance string [netstandard]System.Type::get_FullName()
            call         string [netstandard]System.String::Concat(string, string)
            call         void [netstandard]System.Console::WriteLine(string)
            nop          
            ldloc.1      
            callvirt     instance string [netstandard]System.Object::ToString()
            call         void [netstandard]System.Console::WriteLine(string)
            nop          
            nop          
            leave.s      IL_0001
  }
  IL_0001: ldarg.3      
           ldloc.0      
           callvirt     instance void [netstandard]System.IO.TextWriter::Write(string)
           nop          
           ret          
 }

}

Back to table of contents


Generated by CIL Browser