Skip to content

Commit

Permalink
updates summary
Browse files Browse the repository at this point in the history
  • Loading branch information
pardeike committed Feb 19, 2024
1 parent be98a56 commit 2c2de77
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Harmony/Tools/Code.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

namespace HarmonyLib
{
/// <summary>By adding the following using statement to your source code:</summary>
/// <code>using static HarmonyLib.Code;</code>
/// you can i.e. start using <c>Ldarg_1</c> instead of <c>new CodeMatch(OpCodes.Ldarg_1)</c>
/// and then you can use array notation to add an operand and/or a name:
/// <c>Call[myMethodInfo]</c> instead of <c>new CodeMatch(OpCodes.Call, myMethodInfo)</c>
/// <summary>
/// By adding the following using statement to your source code: <c>using static HarmonyLib.Code;</c>
/// you can for example start using <c>Ldarg_1</c> in you code instead of <c>new CodeMatch(OpCodes.Ldarg_1)</c>
/// and then you can use array notation to add an operand and/or a name: <c>Call[myMethodInfo]</c> instead of <c>new CodeMatch(OpCodes.Call, myMethodInfo)</c>
/// </summary>
///
public static class Code
{
Expand Down

0 comments on commit 2c2de77

Please sign in to comment.