Skip to content

Commit 6df5322

Browse files
nficanoclaude
andcommitted
fix: replace malformed XML doc summary for generic ToJsonElement<T>
The auto-generated stub used `<t>` (Roslyn read it as an unclosed XML element) inside the summary, which surfaces as CS1570 in Release builds and breaks both the test job and the CodeQL autobuilder. Replace with a hand-written summary. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0e0a294 commit 6df5322

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Arcp.Core/Envelope/ArcpJson.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static Envelope Deserialize(ReadOnlySpan<byte> utf8)
4444
/// <summary>Serialize utf8.</summary>
4545
public static byte[] SerializeUtf8(Envelope env) => JsonSerializer.SerializeToUtf8Bytes(env, Options);
4646

47-
/// <summary>To json element<t>.</summary>
47+
/// <summary>Serialize a value into a <see cref="JsonElement"/> using ARCP wire options.</summary>
4848
public static JsonElement ToJsonElement<T>(T value) =>
4949
JsonSerializer.SerializeToElement(value, Options);
5050
}

0 commit comments

Comments
 (0)