Browse Source

Fix build.

pull/2160/head
Siegfried Pammer 5 years ago
parent
commit
41edef710e
  1. 7
      ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs

7
ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs

@ -387,8 +387,11 @@ namespace ICSharpCode.Decompiler.IL.Transforms @@ -387,8 +387,11 @@ namespace ICSharpCode.Decompiler.IL.Transforms
case NewObj newObj:
m = ((LdFtn)newObj.Arguments[1]).Method;
break;
case IInstructionWithMethodOperand withMethod:
m = withMethod.Method;
case CallInstruction call:
m = call.Method;
break;
case LdFtn fnptr:
m = fnptr.Method;
break;
default:
throw new NotSupportedException();

Loading…
Cancel
Save