How do you add < or > to a summary tag in Visual studio?

Posted by Tony on Stack Overflow See other posts from Stack Overflow or by Tony
Published on 2010-04-05T14:28:19Z Indexed on 2010/04/05 14:33 UTC
Read the original article Hit count: 185

How do you add < (less than) or > (greater than) to a summary comment in visual studio? I am in Visual Studio 2008.

I have a generic method:

public bool IsMemberProtected<T>(Expression<Func<T, object>> expression)

Would love to have a summary tag of something like this

    /// <summary>
    /// Determines whether a member is protected.
    /// 
    /// Usage: IsMemberProtected<ExampleType>(x => x.Member)
    /// </summary>

But when I do that, the tooltip for the property no longer works when a developer hovers over the method in code to view the summary tag.

Thoughts?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about comments