Don't check whether method is virtual

This commit is contained in:
de4dot 2011-11-06 12:17:20 +01:00
parent bee77cdfe7
commit 4ecedb5b01

View File

@ -1259,7 +1259,7 @@ namespace de4dot.renamer {
if (suggestedName == null)
newMethodsNames.TryGetValue(methodDef, out suggestedName);
if (IsDelegate && methodDef.isVirtual()) {
if (IsDelegate) {
switch (methodDef.MethodDefinition.Name) {
case "BeginInvoke":
case "EndInvoke":