Skip to content

Commit d90d69a

Browse files
authored
Make method an extension
1 parent ff206d0 commit d90d69a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ILSourceParser/Utilities/InstructionUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static class InstructionUtilities
1818
/// <param name="instruction">The input instruction to get name of.</param>
1919
/// <returns>The name of the instruction as a string.</returns>
2020
/// <exception cref="ArgumentException">Thrown when the input instruction is not valid.</exception>
21-
public static string GetInstructionName(InstructionSyntax instruction)
21+
public static string GetInstructionName(this InstructionSyntax instruction)
2222
{
2323
return instruction switch
2424
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy