23 references to ToString
System.Data.Common (3)
System\Data\Common\BooleanStorage.cs (1)
179
return XmlConvert.
ToString
((bool)value);
System\Data\Common\SQLConvert.cs (2)
659
return XmlConvert.
ToString
(((SqlBoolean)value).Value);
687
return XmlConvert.
ToString
((bool)value);
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
665
_value = XmlConvert.
ToString
(isTypedNode ? ((DataNode<bool>)dataNode).GetValue() : (bool)dataNode.Value);
System\Runtime\Serialization\SchemaExporter.cs (3)
169
isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.
ToString
(classDataContract.IsValueType), schema);
486
isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.
ToString
(dataContract.IsValueType), schema);
544
GetAnnotationMarkup(IsValueTypeName, XmlConvert.
ToString
(dataContract.IsValueType), schema!) :
System.Private.Xml (15)
System\Xml\Core\XmlWriter.cs (1)
262
WriteString(XmlConvert.
ToString
(value));
System\Xml\Schema\XmlValueConverter.cs (6)
1632
return XmlConvert.
ToString
((bool)value);
1640
if (sourceType == BooleanType) return XmlConvert.
ToString
((bool)value);
1658
if (destinationType == StringType) return XmlConvert.
ToString
((bool)value);
2203
return XmlConvert.
ToString
((bool)value);
2239
if (sourceType == BooleanType) return XmlConvert.
ToString
((bool)value);
2273
if (destinationType == StringType) return XmlConvert.
ToString
((bool)value);
System\Xml\Serialization\PrimitiveXmlSerializers.cs (1)
42
WriteElementStringRaw(@"boolean", @"", System.Xml.XmlConvert.
ToString
((bool)((bool)o)));
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
1157
"Boolean" => XmlConvert.
ToString
((bool)o),
System\Xml\Serialization\SchemaObjectWriter.cs (6)
722
WriteAttribute(@"fixed", @"", XmlConvert.
ToString
(o.IsFixed));
809
WriteAttribute(@"abstract", @"", XmlConvert.
ToString
((bool)(bool)o.@IsAbstract));
814
WriteAttribute(@"mixed", @"", XmlConvert.
ToString
((bool)(bool)o.@IsMixed));
907
WriteAttribute(@"mixed", @"", XmlConvert.
ToString
((bool)((bool)o.@IsMixed)));
977
WriteAttribute(@"abstract", @"", XmlConvert.
ToString
((bool)(bool)o.@IsAbstract));
1000
WriteAttribute(@"nillable", @"", XmlConvert.
ToString
(o.IsNillable));
System.Private.Xml.Linq (1)
System\Xml\Linq\XContainer.cs (1)
819
bool boolValue => XmlConvert.
ToString
(boolValue),