Skip to content

Commit

Permalink
More array trimming in doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nike4613 committed Jun 10, 2024
1 parent 0d34ef2 commit c662f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MonoMod.SourceGen.Internal/Cil/ILOverloadGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ private static void GenerateCursorKind(SourceProductionContext spc, (TypeWithEmi
static void EmitMethodWithArg(CodeBuilder builder, string selfFqName, OpcodeDef op, string doc, string argType, string targetType, string argExpr)
{
_ = builder
.WriteLine($"/// <summary>Emits a {doc} opcode with a <see cref=\"{argType}\"/> operand to the current cursor position.</summary>")
.WriteLine($"/// <summary>Emits a {doc} opcode with a <see cref=\"{argType.Trim(['[', ']'])}\"/> operand to the current cursor position.</summary>")
.Write("""/// <param name="operand">The emitted instruction's operand.""");
if (argType != targetType)
{
Expand Down

0 comments on commit c662f1b

Please sign in to comment.