diff --git a/com.code-philosophy.obfuz/Editor/EncryptionVM/VirtualMachineCodeGenerator.cs b/com.code-philosophy.obfuz/Editor/EncryptionVM/VirtualMachineCodeGenerator.cs index 07f444d..821e78d 100644 --- a/com.code-philosophy.obfuz/Editor/EncryptionVM/VirtualMachineCodeGenerator.cs +++ b/com.code-philosophy.obfuz/Editor/EncryptionVM/VirtualMachineCodeGenerator.cs @@ -74,12 +74,12 @@ namespace Obfuz.EncryptionVM {"); foreach (var opCode in _vm.opCodes) { - lines.Add($@" case {opCode.code}: - {{ - // {opCode.function.GetType().Name}"); + lines.Add($@" case {opCode.code}: + {{ + // {opCode.function.GetType().Name}"); AppendEncryptCode(lines, opCode.function); - lines.Add(@" return value; - }"); + lines.Add(@" return value; + }"); } lines.Add(@" @@ -98,12 +98,12 @@ namespace Obfuz.EncryptionVM {"); foreach (var opCode in _vm.opCodes) { - lines.Add($@" case {opCode.code}: - {{ - // {opCode.function.GetType().Name}"); + lines.Add($@" case {opCode.code}: + {{ + // {opCode.function.GetType().Name}"); AppendDecryptCode(lines, opCode.function); - lines.Add(@" return value; - }"); + lines.Add(@" return value; + }"); } lines.Add(@" @@ -193,12 +193,12 @@ namespace Obfuz.EncryptionVM private void AppendEncryptCode(List lines, IEncryptionInstruction instruction) { - instruction.GenerateEncryptCode(lines, " "); + instruction.GenerateEncryptCode(lines, " "); } private void AppendDecryptCode(List lines, IEncryptionInstruction instruction) { - instruction.GenerateDecryptCode(lines, " "); + instruction.GenerateDecryptCode(lines, " "); } } }