MSDN-WhiteKnight / CilTools

A set of tools to work with CIL in .NET applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NullReferenceException on constructor in C++ assembly

MSDN-WhiteKnight opened this issue · comments

System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в System.Reflection.Metadata.Parameter.GetCustomAttributes()
в CilTools.Metadata.ParameterSpec.GetCustomAttributes(Boolean inherit)
в CilTools.Syntax.SyntaxNode.GetDefaultsSyntax(MethodBase m, Int32 startIndent)
в CilTools.BytecodeAnalysis.CilGraph.ToSyntaxTreeImpl(DisassemblerParams pars, Int32 startIndent)
в CilTools.BytecodeAnalysis.CilGraph.ToSyntaxTree(DisassemblerParams pars)
в CilView.UI.Controls.CilBrowserPage..ctor(MethodBase m, Int32 start, Int32 end, RoutedEventHandler navigation) в D:\VADIM\repos\CilTools\CilView\UI.Controls\CilBrowserPage.xaml.cs:строка 31
в CilView.UI.Controls.CilBrowser.NavigateToMethod(MethodBase mb, Int32 start, Int32 end) в D:\VADIM\repos\CilTools\CilView\UI.Controls\CilBrowser.xaml.cs:строка 124
в CilView.UI.Controls.CilBrowser.Navigated(Object sender, RoutedEventArgs e) в D:\VADIM\repos\CilTools\CilView\UI.Controls\CilBrowser.xaml.cs:строка 109
Module: System.Reflection.Metadata
Method: System.Reflection.Metadata.CustomAttributeHandleCollection GetCustomAttributes()

(Introduced after v2.4)