XML comment on x has cref attribute that could not be resolved (property and type mix-up)



The following XML comment gives a compile time warning:



/// <summary>
/// Provides data for the <see cref="TextDraw.Click"/> event.
/// </summary>
public class TextDrawEventArgs : EventArgs
{
//...

public TextDraw TextDraw { get; private set; }
}


I want TextDraw.Click to refer to the event inside the TextDraw class, but it is picking up TextDraw as the property of this TextDrawEventArgs type.


How do I solve this?


No comments:

Post a Comment