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:
-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)