Skip to content

Commit

Permalink
Make method an extension
Browse files Browse the repository at this point in the history
  • Loading branch information
winscripter authored Jul 25, 2024
1 parent ff206d0 commit d90d69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ILSourceParser/Utilities/InstructionUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static class InstructionUtilities
/// <param name="instruction">The input instruction to get name of.</param>
/// <returns>The name of the instruction as a string.</returns>
/// <exception cref="ArgumentException">Thrown when the input instruction is not valid.</exception>
public static string GetInstructionName(InstructionSyntax instruction)
public static string GetInstructionName(this InstructionSyntax instruction)
{
return instruction switch
{
Expand Down

0 comments on commit d90d69a

Please sign in to comment.