|
|
@ -87,7 +87,7 @@ namespace ICSharpCode.Decompiler.IL.Transforms |
|
|
|
context.Step("UsingTransform", tryFinally); |
|
|
|
context.Step("UsingTransform", tryFinally); |
|
|
|
storeInst.Variable.Kind = VariableKind.UsingLocal; |
|
|
|
storeInst.Variable.Kind = VariableKind.UsingLocal; |
|
|
|
block.Instructions.RemoveAt(i); |
|
|
|
block.Instructions.RemoveAt(i); |
|
|
|
block.Instructions[i - 1] = new UsingInstruction(storeInst.Variable, storeInst.Value, tryFinally.TryBlock); |
|
|
|
block.Instructions[i - 1] = new UsingInstruction(storeInst.Variable, storeInst.Value, tryFinally.TryBlock) { ILRange = storeInst.ILRange }; |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|