Bugzilla – Bug 319769
[/doc] CS1574 reported for reference to class in nested namespace
Last modified: 2007-09-15 21:24:23 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".