codeEntityReference and generics

Apr 2, 2008 at 12:13 AM
What is the syntax for specifying a class or method reference if they have generic type parameters. For instance given a class

class GenericClass<T>
public void Foo();

how would use the codeEntityReference tag to create a reference to the class or the method Foo?
Apr 2, 2008 at 1:58 AM

You must use the backtick notation:
The number after the backtick is the number of generic type parameters.

- Dave
Apr 4, 2008 at 8:20 PM
I was just looking at the file and realized that if you're unsure as to the format of a code reference, you can just find the api element in this file and copy it to your topic file.
Apr 4, 2008 at 9:47 PM
That's a good observation. You can also look at the XML documentation file that is generated by the compiler.

- Dave