Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions StackXML/XmlWriteBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void PutAttribute<T>(ReadOnlySpan<char> name, T value) where T : ISpanFor

public void PutAttribute(ReadOnlySpan<char> 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');
}

Expand Down Expand Up @@ -288,4 +288,4 @@ public void EncodeText(ReadOnlySpan<char> input, bool attribute=false)
}
}
}
}
}