Bugzilla – Bug 319555
[/doc] CS0419 is reported for cref to overridden property
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by gert.driesen@pandora.be 2005-11-16 16:14:28 MST ---- mcs reports CS0419 for cref to an overridden property. To reproduce, compile the following code snippet using mcs: /// <summary /> public class A { static void Main () { } /// <summary /> public virtual string Level { get { return null; } } /// <summary /> public virtual void Test () { } } /// <summary> /// <see cref="Level" /> /// <see cref="Test" /> /// </summary> public class B : A { /// <summary /> public override string Level { get { return null; } } /// <summary /> public override void Test () { } } Actual result: test.cs(20,14): warning CS0419: Ambiguous reference in cref attribute 'Level'. Assuming 'B.Level' but other overloads including 'A.Level' have also matched Expected result: No warning. Note: a cref to the overriden method is working just fine. ---- Additional Comments From atsushi@ximian.com 2005-11-16 19:10:45 MST ---- Fixed in svn (r53152). ---- Additional Comments From gert.driesen@pandora.be 2005-11-30 06:05:15 MST ---- Atsushi, same here: when will gmcs be sync'ed again ? ---- Additional Comments From atsushi@ximian.com 2005-11-30 10:18:44 MST ---- same here: ask Harinath about gmcs merge.