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