mono/mono-tools — pull request #23 by krijesta (2012-02-20 09:05:44+00:00)
Title: Typerocks IsNamed() errors

Currently TypeRocks.Match doesn't work correctly with NestedNested classes, TypeRocks.IsNamed(name, namespace) doesn't work with Nested classes and TypeRocks.IsNamed(fullName) will match on a shorter version of the typeName as the lenght to fix isn't matched. See commit messages:

```
Correct TypeRocks.IsNamed(TypeReference, string)

This corrects the match where a Type will match a substring of that type
e.g. the type "Test.Framework.Rocks.PublicType" would match the string
"Test.Framework.Rocks.P"
```

```
Correct IsNamed(TypeReference, string, string)

Fix usage when nested types are used. This removes the need for Match as
it can just be replaced by isNamed. Note that Match did not previously
work with nestednested types and now does
```