We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b494a2 commit 70ce777Copy full SHA for 70ce777
src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/XmlPropertyFormatter.cs
@@ -212,7 +212,7 @@ static string SimplifyScalar(object value)
212
{
213
if (value == null) return null;
214
215
- return new XText(_invalidXMLChars.Replace(value.ToString(), m => "\\u" + (ushort)m.Value[0]).ToString("x4"))).ToString();
+ return new XText(_invalidXMLChars.Replace(value.ToString(), m => "\\u" + ((ushort)m.Value[0]).ToString("x4"))).ToString();
216
}
217
218
0 commit comments