Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJb Evain <jbevain@gmail.com>2009-05-15 18:33:21 +0400
committerJb Evain <jbevain@gmail.com>2009-05-15 18:33:21 +0400
commit0d47d8081c828d4b032564a88046a99d0284e6fd (patch)
tree1f535dc15b76af90c759842aa67d718af14b35d4
parentaf1e5f95cccab9e880d32aeaa7e316f1195df580 (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/ChangeLog5
-rw-r--r--mcs/tools/tuner/Mono.Tuner/InjectSecurityAttributes.cs2
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)