From d90d69a95cf08bc58b7f78e3c8417475b976124f Mon Sep 17 00:00:00 2001 From: winscripter <142818255+winscripter@users.noreply.github.com> Date: Thu, 25 Jul 2024 22:39:14 +0400 Subject: [PATCH] Make method an extension --- ILSourceParser/Utilities/InstructionUtilities.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {