Bug 319551 (MONO76726) - [/doc] CS0419 reported for cref to implemented property.
Summary: [/doc] CS0419 reported for cref to implemented property.
Status: RESOLVED FIXED
Alias: MONO76726
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.0
Hardware: Other All
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Atsushi Enomoto
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-16 19:55 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:38:14 UTC


---- Reported by gert.driesen@pandora.be 2005-11-16 12:55:31 MST ----

mcs reports CS0419 if a cref points to a property that is defined in an 
implemented interface.

To reproduce, compile the following code snippet:

/// <summary />
public interface IExecutable {
	/// <summary />
	void Execute ();

	/// <summary />
	object Current {
		get; 
	}
}

/// <summary>
/// <see cref="Execute" />
/// <see cref="Current" />
/// </summary>
public class A : IExecutable {
	static void Main () {
	}

	/// <summary />
	public void Execute () {
	}

	/// <summary />
	public object Current {
		get { return null; }
	}
}

Actual result:

test.cs(16,14): warning CS0419: Ambiguous reference in cref 
attribute 'Current'. Assuming 'A.Current' but other overloads 
including 'IExecutable.Current' also matched

Expected result:

No warnings.



---- Additional Comments From atsushi@ximian.com 2005-11-16 15:44:54 MST ----

Fixed in svn (r53141).