Bug 319769 (MONO76960) - [/doc] CS1574 reported for reference to class in nested namespace
Summary: [/doc] CS1574 reported for reference to class in nested namespace
Status: RESOLVED FIXED
Alias: MONO76960
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Atsushi Enomoto
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-10 12:35 UTC by Gert Driesen
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:40:52 UTC


---- Reported by gert.driesen@pandora.be 2005-12-10 05:35:29 MST ----

mcs reports CS1574 for a cref to a class in a nested namespace where the 
name of the class matches the name of the nested namespace.

To reproduce, compile the following code snippet (using mcs /doc:test.xml 
test.cs):

using log4net.Repository.Hierarchy;

namespace log4net.Repository {
  /// <summary>
  /// <see cref="Hierarchy" />
  /// </summary>
  public interface ILog {
  }
}

namespace log4net.Repository.Hierarchy {
  /// <summary />
  public class Hierarchy {
    static void Main () {
    }
  }
}
	
Actual result:

test.cs(7,19): warning CS1574: XML comment on 'log4net.Repository.ILog' 
has cref attribute 'Hierarchy' that could not be resolved

Expected result:

Successful compilation without warnings.



---- Additional Comments From atsushi@ximian.com 2005-12-10 07:58:42 MST ----

fixed in svn (r76960).



---- Additional Comments From gert.driesen@pandora.be 2005-12-10 09:47:20 MST ----

Thanks for this and all previous fixes !!


Unknown operating system unknown. Setting to default OS "Other".