diff --git a/Torch/Managers/PatchManager/MSIL/MsilInstruction.cs b/Torch/Managers/PatchManager/MSIL/MsilInstruction.cs
index 54ad06e..d16f8e1 100644
--- a/Torch/Managers/PatchManager/MSIL/MsilInstruction.cs
+++ b/Torch/Managers/PatchManager/MSIL/MsilInstruction.cs
@@ -151,6 +151,17 @@ namespace Torch.Managers.PatchManager.MSIL
return result;
}
+ ///
+ /// Adds the given label to this instruction
+ ///
+ /// Label to add
+ /// this instruction
+ public MsilInstruction LabelWith(MsilLabel label)
+ {
+ Labels.Add(label);
+ return this;
+ }
+
///
/// Sets the inline branch target for this instruction.
///