Thanks a lot, that cleared some things...

On 2 Jan., 17:55, Johannes Rudolph <[email protected]>
wrote:
> http://books.google.de/books?id=oAcCRKd6EZgC&printsec=frontcover&dq=s...

After having a look inside the book, I see that your're right, generic
methods do not even use the backtick syntax in IL.

> [email protected]> wrote:
> > AFAIK the generic aricity (that's what the backtick+number is called, the
> > number of generic parameters) is not part of any standards but rather a
> > convention employed by compilers to easily differntiate between generic and
> > non-generic types, though the runtime is perfectly capable of doing so
> > without the backticks in the name.

Now I found out where my confusion comes from:

1. 'FullName' of *type* references *does* give the backtick-syntax
2. Backtick-syntax is used in XML-comments on types *and* methods

As I am using a MSBuild task to compile IL that creates a
documentation file from inline XML-comments, I mixed all up.

I'm now going to write an extension method that returns the method
name in XML-comments syntax and use that name as key in the
dictionary.

Thanks again,
Joachim

-- 
--
mono-cecil

Reply via email to