When creating C++/CLI classes to use in C# applications, the InteliSense information created from XML comments fails to appear for a method if any of the parameters to said method use generics.
Example:
Say I have the following C++/CLI class:
/// <summary> /// Stuff about Class1 /// </summary> public ref class Class1 { public: /// <summary> /// Does value stuff in the first class /// </summary> /// <param name="a">The lone value parameter</param> static void DoStuff1(int a) { return;}
/// <summary> /// Does reference stuff in the first class /// </summary> /// <param name="a">The lone reference parameter</param> static void DoStuff2(Object ^a) { return; }
/// <summary> /// Does generic value stuff in the first class /// </summary> /// <param name="a">The lone value parameter with a generic</param> static void DoStuff3(ArraySegment<int> ^a) { return; }
/// <summary> /// Does generic reference stuff in the first class /// <//summary> /// <param name="a">The lone reference parameter with a generic</param> static void DoStuff4(List<int> ^a) { return; } };
When this class is used from with in C#, all the appropriate comments and descriptions show up in the IntelliSense for Class1.DoStuff1 and Class1.DoStuff2, but none of the information from the XML comments show up in IntelliSense for Class1.DoStuff3 or Class1.DoStuff4
I also tried enabling 'Validate InteliSense' in the XML Document Generator options in the C++ project configuration properties but the output window shows xdcmake not recognizing /validate as a valid option.
I am currently using Visual Studio 2005 Team System for Software Developers(SP1) on XP-x64
Visual C++6
|