SyntaxGenerator.GetPropertyMethod causes external assemblies resolution
MSDN-WhiteKnight opened this issue · 0 comments
MSDN-WhiteKnight commented
SyntaxGenerator.GetPropertyMethod runs into TypeLoadException when property is on a type derived from external assembly which cannot be resolved.
> CilTools.Metadata.dll!CilTools.Metadata.AssemblyReader.LoadType(System.Type t)Строка 277 C#
CilTools.Metadata.dll!CilTools.Metadata.TypeRef.LoadImpl()Строка 42 C#
CilTools.Metadata.dll!CilTools.Metadata.TypeRef.GetMembers(System.Reflection.BindingFlags bindingAttr)Строка 193 C#
CilTools.Metadata.dll!CilTools.Metadata.TypeDef.GetMembers(System.Reflection.BindingFlags bindingAttr)Строка 482 C#
CilTools.Metadata.dll!CilTools.Metadata.TypeDef.GetMember(string name, System.Reflection.BindingFlags bindingAttr)Строка 406 C#
CilTools.BytecodeAnalysis.dll!CilTools.Syntax.Generation.SyntaxGenerator.GetPropertyMethod(System.Reflection.PropertyInfo p, string accName)Строка 458 C#
CilTools.BytecodeAnalysis.dll!CilTools.Syntax.Generation.SyntaxGenerator.GetTypeDefSyntaxImpl(System.Type t, bool full, CilTools.Syntax.DisassemblerParams disassemblerParams, int startIndent)Строка 1061 C#
System.Linq.dll!System.Collections.Generic.LargeArrayBuilder<CilTools.Syntax.SyntaxNode>.AddRange(System.Collections.Generic.IEnumerable<CilTools.Syntax.SyntaxNode> items) Нет данных
System.Linq.dll!System.Collections.Generic.EnumerableHelpers.ToArray<CilTools.Syntax.SyntaxNode>(System.Collections.Generic.IEnumerable<CilTools.Syntax.SyntaxNode> source) Нет данных
System.Linq.dll!System.Linq.Enumerable.ToArray<CilTools.Syntax.SyntaxNode>(System.Collections.Generic.IEnumerable<CilTools.Syntax.SyntaxNode> source) Нет данных
CilBrowser.Core.dll!CilBrowser.Core.HtmlGenerator.VisualizeType(System.Type t, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<System.Type>> typeMap)Строка 382 C#
CilBrowser.Core.dll!CilBrowser.Core.WebsiteGenerator.GenerateFromAssembly(System.Reflection.Assembly ass, string nsFilter, string outputPath, string customFooter)Строка 105 C#
CilBrowser.dll!CilBrowser.Program.GenerateDemo()Строка 33 C#
CilBrowser.dll!CilBrowser.Program.Main(string[] args)Строка 98 C#