https://bugzilla.novell.com/show_bug.cgi?id=643460
https://bugzilla.novell.com/show_bug.cgi?id=643460#c0 Summary: [DOC] generic type constraints on delegates confuse the XML-doc parser of gmcs Classification: Mono Product: Mono: Compilers Version: 2.6.x Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3 namespace Test { using System; /// <summary>Documentation Text</summary> public delegate void FirstTestDelegate<T>(T obj) where T: Exception; /// <summary>test</summary> public interface TestInterface { } } Reproducible: Always Steps to Reproduce: 1. build the source snippet with gmcs with doc generation enabled Actual Results: $ gmcs /doc:test.xml /target:library DelegateTest.cs DelegateTest.cs(8,7): warning CS1587: XML comment is not placed on a valid language element DelegateTest.cs(9,22): warning CS1591: Missing XML comment for publicly visible type or member `Test.TestInterface' Compilation succeeded - 2 warning(s) The generated test.xml does not contain the documentation for TestInterface. Expected Results: I would expect no warnings. when compiling and that all documentation is available in the output xml file. The error goes away when the "where T: Exception" constraint on the delegate is removed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
