|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Referncing generic in XML commentsHi
A have a generic class - InfoCollection<T> The code comment for my constructor is: /// <summary> /// Instantiates a new instances of the <see cref="InfoCollection[T]"/> class. /// </summary> I get a warning in the compilation saying that the comment has syntactically incorrect cref attribute. How can I write my comment correctly. ? -- Thanks Paul S On Oct 30, 10:04 am, Paul S <p...@community.nospam> wrote:
> A have a generic class - InfoCollection<T> Use braces instead of square brackets:> > The code comment for my constructor is: > /// <summary> > /// Instantiates a new instances of the <see > cref="InfoCollection[T]"/> class. > /// </summary> > > I get a warning in the compilation saying that the comment has syntactically > incorrect cref attribute. > > How can I write my comment correctly. ? <see cref="InfoCollection{T}" /> (Intellisense may help if you hit Ctrl-Space after typing InfoCol - or that could just be ReSharper on my box.) Jon |
|||||||||||||||||||||||