66 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)
1232
"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),
System.Web.Services.Description (43)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (43)
276
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
306
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
336
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
607
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
654
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
791
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
828
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
896
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
944
WriteAttribute(@"ignoreCase", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IgnoreCase)));
980
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1010
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1041
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1080
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1119
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1160
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1200
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1241
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1377
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1406
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1435
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1478
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1508
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1515
WriteAttribute(@"soapActionRequired", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@SoapActionRequired)));
1554
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1587
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1617
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
2626
WriteAttribute(@"abstract", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsAbstract)));
2643
WriteAttribute(@"nillable", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsNillable)));
3100
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3142
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3184
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3226
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3268
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3310
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3352
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3394
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3436
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3478
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3520
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3562
WriteAttribute(@"fixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3698
WriteAttribute(@"abstract", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsAbstract)));
3704
WriteAttribute(@"mixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsMixed)));
4109
WriteAttribute(@"mixed", @"", Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsMixed)));