23 references to ToString
System.Data.Common (3)
System\Data\Common\BooleanStorage.cs (1)
179return XmlConvert.ToString((bool)value);
System\Data\Common\SQLConvert.cs (2)
659return XmlConvert.ToString(((SqlBoolean)value).Value); 687return 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)
169isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.ToString(classDataContract.IsValueType), schema); 486isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.ToString(dataContract.IsValueType), schema); 544GetAnnotationMarkup(IsValueTypeName, XmlConvert.ToString(dataContract.IsValueType), schema!) :
System.Private.Xml (15)
System\Xml\Core\XmlWriter.cs (1)
262WriteString(XmlConvert.ToString(value));
System\Xml\Schema\XmlValueConverter.cs (6)
1632return XmlConvert.ToString((bool)value); 1640if (sourceType == BooleanType) return XmlConvert.ToString((bool)value); 1658if (destinationType == StringType) return XmlConvert.ToString((bool)value); 2203return XmlConvert.ToString((bool)value); 2239if (sourceType == BooleanType) return XmlConvert.ToString((bool)value); 2273if (destinationType == StringType) return XmlConvert.ToString((bool)value);
System\Xml\Serialization\PrimitiveXmlSerializers.cs (1)
42WriteElementStringRaw(@"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)
722WriteAttribute(@"fixed", @"", XmlConvert.ToString(o.IsFixed)); 809WriteAttribute(@"abstract", @"", XmlConvert.ToString((bool)(bool)o.@IsAbstract)); 814WriteAttribute(@"mixed", @"", XmlConvert.ToString((bool)(bool)o.@IsMixed)); 907WriteAttribute(@"mixed", @"", XmlConvert.ToString((bool)((bool)o.@IsMixed))); 977WriteAttribute(@"abstract", @"", XmlConvert.ToString((bool)(bool)o.@IsAbstract)); 1000WriteAttribute(@"nillable", @"", XmlConvert.ToString(o.IsNillable));
System.Private.Xml.Linq (1)
System\Xml\Linq\XContainer.cs (1)
819bool boolValue => XmlConvert.ToString(boolValue),