Hello actipro,
I think i have detected a bug in the "summary display" during the autocompletion.
I provide you all code and document below.
In your Test application ".Net Language Reflection", I import my Dll file. after that, i write "using Cpt.Wrappers" in the using block.
Then, i write "C." for acessing to autocompletion and for the "Activate" method, there is an error (see JIT debugger information below) and for the "Address" structure, the summary doesn't display.
The C# code :The XML Help file :
Here is the stack provided by the error text box in your ".Net Language reflection" application :
I think i have detected a bug in the "summary display" during the autocompletion.
I provide you all code and document below.
In your Test application ".Net Language Reflection", I import my Dll file. after that, i write "using Cpt.Wrappers" in the using block.
Then, i write "C." for acessing to autocompletion and for the "Activate" method, there is an error (see JIT debugger information below) and for the "Address" structure, the summary doesn't display.
The C# code :
// Version = 1
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Cpt.Wrappers
{
public class C
{
/// <summary>
/// Summary ONE
/// </summary>
/// <param name="apnInfo">Summary of a parameter</param>
/// <returns>Summary of a return</returns>
public static int Activate(Address apnInfo)
{
return 0;
}
/// <summary>
/// Summary that is not displayed ...
/// </summary>
public class Address
{
}
}
}
<?xml version="1.0"?>
<doc>
<assembly>
<name>Cpt.Wrappers.CPA</name>
</assembly>
<members>
<member name="M:Cpt.Wrappers.C.Activate(Cpt.Wrappers.C.Address)">
<summary>
Summary ONE
</summary>
<param name="apnInfo">Summary of a parameter</param>
<returns>Summary of a return</returns>
</member>
<member name="T:Cpt.Wrappers.C.Address">
<summary>
Summary that is not displayed ...
</summary>
</member>
</members>
</doc>
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at ActiproSoftware.SyntaxEditor.Addons.DotNet.Dom.DotNetProjectResolver.a(DotNetLanguage A_0, DotNetContext A_1, IDomType A_2, IDomMember A_3, Int32 A_4, Boolean A_5)
at ActiproSoftware.SyntaxEditor.Addons.CSharp.CSharpSyntaxLanguage.OnSyntaxEditorIntelliPromptMemberListItemDescriptionRequested(SyntaxEditor syntaxEditor, EventArgs e)
at ActiproSoftware.SyntaxEditor.SyntaxEditor.c(EventArgs A_0)
at aw.b(EventArgs A_0)
at cn.a()
at cn.a(SyntaxEditor A_0)
at ActiproSoftware.SyntaxEditor.SyntaxEditor.f()
at ActiproSoftware.SyntaxEditor.SyntaxEditor.h(Object A_0, EventArgs A_1)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TestApplication
Assembly Version: 1.0.2649.21536
Win32 Version: 1.0.2649.21536
CodeBase: file:///C:/Program%20Files/Actipro%20Software/SyntaxEditor/v4.0.0238/TestApplication-CSharp.Net20/bin/Debug/TestApplication.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ActiproSoftware.Shared.Net20
Assembly Version: 1.0.85.0
Win32 Version: 1.0.85.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ActiproSoftware.Shared.Net20/1.0.85.0__36ff2196ab5654b9/ActiproSoftware.Shared.Net20.dll
----------------------------------------
ActiproSoftware.SyntaxEditor.Net20
Assembly Version: 4.0.238.0
Win32 Version: 4.0.238.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ActiproSoftware.SyntaxEditor.Net20/4.0.238.0__21a821480e210563/ActiproSoftware.SyntaxEditor.Net20.dll
----------------------------------------
ActiproSoftware.SyntaxEditor.Addons.DotNet.Net20
Assembly Version: 4.0.238.0
Win32 Version: 4.0.238.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ActiproSoftware.SyntaxEditor.Addons.DotNet.Net20/4.0.238.0__21a821480e210563/ActiproSoftware.SyntaxEditor.Addons.DotNet.Net20.dll
----------------------------------------
ActiproSoftware.WinUICore.Net20
Assembly Version: 1.0.85.0
Win32 Version: 1.0.85.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/ActiproSoftware.WinUICore.Net20/1.0.85.0__1eba893a2bc55de5/ActiproSoftware.WinUICore.Net20.dll
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.