From fed415f0179254ba396a97c48fedc80cf20592e8 Mon Sep 17 00:00:00 2001 From: lechu445 Date: Mon, 8 Jun 2026 00:35:51 +0200 Subject: [PATCH] Add link to GitHub issue in todo comment --- StackXML/XmlWriteBuffer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StackXML/XmlWriteBuffer.cs b/StackXML/XmlWriteBuffer.cs index 8da4777..2c550aa 100644 --- a/StackXML/XmlWriteBuffer.cs +++ b/StackXML/XmlWriteBuffer.cs @@ -128,7 +128,7 @@ public void PutAttribute(ReadOnlySpan name, T value) where T : ISpanFor public void PutAttribute(ReadOnlySpan name, bool value) { - // todo: why is bool not ISpanFormattable? + // todo: why is bool not ISpanFormattable? See https://github.com/dotnet/runtime/issues/67388. PutAttribute(name, value ? '1' : '0'); } @@ -288,4 +288,4 @@ public void EncodeText(ReadOnlySpan input, bool attribute=false) } } } -} \ No newline at end of file +}