diff options
author | Jb Evain <jbevain@gmail.com> | 2009-05-15 18:33:21 +0400 |
---|---|---|
committer | Jb Evain <jbevain@gmail.com> | 2009-05-15 18:33:21 +0400 |
commit | 0d47d8081c828d4b032564a88046a99d0284e6fd (patch) | |
tree | 1f535dc15b76af90c759842aa67d718af14b35d4 | |
parent | af1e5f95cccab9e880d32aeaa7e316f1195df580 (diff) |
2009-05-15 Jb Evain <jbevain@novell.com>moon-1.9.2
* Mono.Tuner/InjectSecurityAttributes.cs: fix retrieval
of generic methods.
svn path=/trunk/mcs/; revision=134208
-rw-r--r-- | mcs/tools/tuner/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/tools/tuner/Mono.Tuner/InjectSecurityAttributes.cs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/tools/tuner/ChangeLog b/mcs/tools/tuner/ChangeLog index 4fa65fb81b3..ac794f78a29 100644 --- a/mcs/tools/tuner/ChangeLog +++ b/mcs/tools/tuner/ChangeLog @@ -1,5 +1,10 @@ 2009-05-15 Jb Evain <jbevain@novell.com> + * Mono.Tuner/InjectSecurityAttributes.cs: fix retrieval + of generic methods. + +2009-05-15 Jb Evain <jbevain@novell.com> + * Mono.Tuner/InjectSecurityAttributes.cs: fix issues with non unique MethodReference.ToString for generic method defs. diff --git a/mcs/tools/tuner/Mono.Tuner/InjectSecurityAttributes.cs b/mcs/tools/tuner/Mono.Tuner/InjectSecurityAttributes.cs index 14d56c84c67..bb11079ef99 100644 --- a/mcs/tools/tuner/Mono.Tuner/InjectSecurityAttributes.cs +++ b/mcs/tools/tuner/Mono.Tuner/InjectSecurityAttributes.cs @@ -306,7 +306,7 @@ namespace Mono.Tuner { return method_name.StartsWith (".c") ? GetMethod (type.Constructors, signature) : - GetMethod (type.Methods.GetMethod (method_name), signature); + GetMethod (type.Methods, signature); } static MethodDefinition GetMethod (IEnumerable methods, string signature) |