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

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJb Evain <jb@evain.net>2016-07-11 03:44:02 +0300
committerJb Evain <jb@evain.net>2016-07-11 03:44:02 +0300
commit84b25b1927ac2e44babdcae0776cbd3fd1774e75 (patch)
treed83d42d0d67a84b0aa85b0865582aa441e3cf9c4
parent3f203f8d2cbe7122517f5f080dcf9c02d8b05c22 (diff)
Fix method name normalization
-rw-r--r--Mono.Cecil/Import.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mono.Cecil/Import.cs b/Mono.Cecil/Import.cs
index d1e9929..0dde1b3 100644
--- a/Mono.Cecil/Import.cs
+++ b/Mono.Cecil/Import.cs
@@ -90,7 +90,7 @@ namespace Mono.Cecil {
public string NormalizeMethodName (MethodReference method)
{
- return method.DeclaringType.FullName + "." + method.Name;
+ return method.DeclaringType.GetElementType ().FullName + "." + method.Name;
}
public TypeReference TypeParameter (string type, int position)