System\Xml\Serialization\XmlSerializationWriter.cs (19)
277tryFormatResult = XmlConvert.TryFormat((int)o, _primitivesBuffer, out charsWritten);
281tryFormatResult = XmlConvert.TryFormat((bool)o, _primitivesBuffer, out charsWritten);
285tryFormatResult = XmlConvert.TryFormat((short)o, _primitivesBuffer, out charsWritten);
289tryFormatResult = XmlConvert.TryFormat((long)o, _primitivesBuffer, out charsWritten);
293tryFormatResult = XmlConvert.TryFormat((float)o, _primitivesBuffer, out charsWritten);
297tryFormatResult = XmlConvert.TryFormat((double)o, _primitivesBuffer, out charsWritten);
301tryFormatResult = XmlConvert.TryFormat((decimal)o, _primitivesBuffer, out charsWritten);
305tryFormatResult = TryFormatDateTime((DateTime)o, _primitivesBuffer, out charsWritten);
309tryFormatResult = XmlConvert.TryFormat((ushort)(char)o, _primitivesBuffer, out charsWritten);
314tryFormatResult = XmlConvert.TryFormat((byte)o, _primitivesBuffer, out charsWritten);
318tryFormatResult = XmlConvert.TryFormat((sbyte)o, _primitivesBuffer, out charsWritten);
322tryFormatResult = XmlConvert.TryFormat((ushort)o, _primitivesBuffer, out charsWritten);
326tryFormatResult = XmlConvert.TryFormat((uint)o, _primitivesBuffer, out charsWritten);
330tryFormatResult = XmlConvert.TryFormat((ulong)o, _primitivesBuffer, out charsWritten);
355tryFormatResult = XmlConvert.TryFormat((Guid)o, _primitivesBuffer, out charsWritten);
361tryFormatResult = XmlConvert.TryFormat((TimeSpan)o, _primitivesBuffer, out charsWritten);
367tryFormatResult = XmlConvert.TryFormat((DateTimeOffset)o, _primitivesBuffer, out charsWritten);
415ReadOnlySpan<char> span = _primitivesBuffer;
419_w.WriteRaw(_primitivesBuffer, 0, charsWritten);