[Mono-bugs] [Bug 649884] New: Unjustified warning CS1574
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Oct 28 09:31:03 EDT 2010
https://bugzilla.novell.com/show_bug.cgi?id=649884
https://bugzilla.novell.com/show_bug.cgi?id=649884#c0
Summary: Unjustified warning CS1574
Classification: Mono
Product: Mono: Compilers
Version: 2.8.x
Platform: All
OS/Version: openSUSE 11.3
Status: NEW
Severity: Minor
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: djechelon at fastwebnet.it
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:1.9.2.11)
Gecko/20101012 Firefox/3.6.11
I found that gmcs doesn't handle correctly references to exceptions in XML
documentation.
A code fragment like the following produces the warning in subject
/// <summary>
/// Automatically configures Logbus using the App.Config or
Web.config's XML configuration
/// </summary>
/// <exception cref="System.InvalidOperationException">Logbus was
already configured</exception>
/// <exception cref="System.NotSupportedException">Empty
configuration</exception>
/// <exception
cref="It.Unina.Dis.Logbus.Configuration.LogbusConfigurationException">Semantic
error in configuration</exception>
public void Configure()
{[...]}
LogbusService.cs(131,21): warning CS1574: XML comment on
`It.Unina.Dis.Logbus.LogbusService.Configure()' has cref attribute
`System.InvalidOperationException' that could not be resolved
LogbusService.cs(131,21): warning CS1574: XML comment on
`It.Unina.Dis.Logbus.LogbusService.Configure()' has cref attribute
`System.NotSupportedException' that could not be resolved
LogbusService.cs(131,21): warning CS1574: XML comment on
`It.Unina.Dis.Logbus.LogbusService.Configure()' has cref attribute
`It.Unina.Dis.Logbus.Configuration.LogbusConfigurationException' that could not
be resolved
Visual Studio reports no warning about those.
Reproducible: Always
--
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.
More information about the mono-bugs
mailing list