Don't check whether method is virtual
This commit is contained in:
parent
bee77cdfe7
commit
4ecedb5b01
|
@ -1259,7 +1259,7 @@ namespace de4dot.renamer {
|
||||||
if (suggestedName == null)
|
if (suggestedName == null)
|
||||||
newMethodsNames.TryGetValue(methodDef, out suggestedName);
|
newMethodsNames.TryGetValue(methodDef, out suggestedName);
|
||||||
|
|
||||||
if (IsDelegate && methodDef.isVirtual()) {
|
if (IsDelegate) {
|
||||||
switch (methodDef.MethodDefinition.Name) {
|
switch (methodDef.MethodDefinition.Name) {
|
||||||
case "BeginInvoke":
|
case "BeginInvoke":
|
||||||
case "EndInvoke":
|
case "EndInvoke":
|
||||||
|
|
Loading…
Reference in New Issue
Block a user