diff --git a/ILSourceParser/Utilities/InstructionUtilities.cs b/ILSourceParser/Utilities/InstructionUtilities.cs index 70f8450..586d8ec 100644 --- a/ILSourceParser/Utilities/InstructionUtilities.cs +++ b/ILSourceParser/Utilities/InstructionUtilities.cs @@ -18,7 +18,7 @@ public static class InstructionUtilities /// The input instruction to get name of. /// The name of the instruction as a string. /// Thrown when the input instruction is not valid. - public static string GetInstructionName(InstructionSyntax instruction) + public static string GetInstructionName(this InstructionSyntax instruction) { return instruction switch {