Browse Source

Remove unused parameter.

pull/1633/head
Siegfried Pammer 6 years ago
parent
commit
4246a178f4
  1. 4
      ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs

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

@ -250,10 +250,10 @@ namespace ICSharpCode.Decompiler.IL.Transforms @@ -250,10 +250,10 @@ namespace ICSharpCode.Decompiler.IL.Transforms
break;
}
if (firstArgumentIndex > 0) {
HandleArgument(0, useSite.Arguments[0], skipForDeclarationScope: true);
HandleArgument(0, useSite.Arguments[0]);
}
bool HandleArgument(int i, ILInstruction arg, bool skipForDeclarationScope = false)
bool HandleArgument(int i, ILInstruction arg)
{
ILVariable closureVar;
if (!(arg.MatchLdLoc(out closureVar) || arg.MatchLdLoca(out closureVar)))

Loading…
Cancel
Save