Bugzilla – Bug 319522
CS1569 is reported for XML comment on private virtual method.
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by gert.driesen@pandora.be 2005-11-13 10:59:41 MST ---- While making a test case for another mcs bug, I make a typo and noticed that mcs reports error CS1569 when an XML comment is placed on a private virtual method (which ofcourse causes a compile error). This is a very minor issue, as the code is not compilable but I'm reporting it anyway ... To reproduce this issue, compile the following code snippet: /// <summary /> public class EntryPoint { static void Main () { } /// <summary /> private virtual void Define (bool test) { } } Actual result: test.cs(7,23): error CS0621: `EntryPoint.Define(bool)': virtual or abstract members cannot be private error CS1569: Error generating XML documentation file `test.xml' (`Object reference not set to an instance of an object') Expected result: test.cs(7,23): error CS0621: `EntryPoint.Define(bool)': virtual or abstract members cannot be private ---- Additional Comments From atsushi@ximian.com 2005-11-13 13:08:18 MST ---- Fixed in svn (r52978). Unknown operating system unknown. Setting to default OS "Other".