98 references to ToString
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
226
return XmlConvert.
ToString
((bool)value);
System.Data (3)
fx\src\data\System\Data\Common\BooleanStorage.cs (1)
158
return XmlConvert.
ToString
((Boolean) value);
fx\src\data\System\Data\Common\SQLConvert.cs (2)
715
return XmlConvert.
ToString
(((SqlBoolean)value).Value);
743
return XmlConvert.
ToString
((bool) value);
System.Data.Services (1)
System\Data\Services\Parsing\WebConvert.cs (1)
629
result = XmlConvert.
ToString
((bool)value);
System.Data.Services.Client (2)
parent\Server\System\Data\Services\Parsing\WebConvert.cs (1)
629
result = XmlConvert.
ToString
((bool)value);
System\Data\Services\Client\ClientConvert.cs (1)
301
return XmlConvert.
ToString
((bool)propertyValue);
System.IdentityModel (11)
System\IdentityModel\Metadata\MetadataSerializer.cs (6)
2109
writer.WriteAttributeString(WSFederationMetadataConstants.Attributes.Optional, XmlConvert.
ToString
(claim.Optional));
2353
XmlConvert.
ToString
(identityProviderSingleSignOnDescriptor.WantAuthenticationRequestsSigned));
2442
writer.WriteAttributeString(Saml2MetadataConstants.Attributes.EndpointIsDefault, null, XmlConvert.
ToString
(indexedEP.IsDefault.Value));
2933
XmlConvert.
ToString
(serviceProviderSingleSignOnDescriptor.AuthenticationRequestsSigned));
2939
XmlConvert.
ToString
(serviceProviderSingleSignOnDescriptor.WantAssertionsSigned));
3315
writer.WriteAttributeString("nil", XmlSchema.InstanceNamespace, XmlConvert.
ToString
(true));
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (4)
1226
writer.WriteString(XmlConvert.
ToString
((bool)elementValue));
1239
writer.WriteString(XmlConvert.
ToString
((bool)elementValue));
1260
writer.WriteAttributeString(trustConstants.Attributes.Allow, XmlConvert.
ToString
(renewing.AllowRenewal));
1261
writer.WriteAttributeString(trustConstants.Attributes.OK, XmlConvert.
ToString
(renewing.OkForRenewalAfterExpiration));
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
3240
writer.WriteAttributeString("nil", XmlSchema.InstanceNamespace, XmlConvert.
ToString
(true));
System.Runtime.Serialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
666
this.value = XmlConvert.
ToString
(isTypedNode ? ((DataNode<bool>)dataNode).GetValue() : (bool)dataNode.Value);
System\Runtime\Serialization\SchemaExporter.cs (3)
175
isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.
ToString
(classDataContract.IsValueType), schema);
481
isValueTypeElement = GetAnnotationMarkup(IsValueTypeName, XmlConvert.
ToString
(dataContract.IsValueType), schema);
536
GetAnnotationMarkup(IsValueTypeName, XmlConvert.
ToString
(dataContract.IsValueType), schema) :
System.ServiceModel (1)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
348
attr.Value = XmlConvert.
ToString
(claimType.IsOptional);
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
210
return XmlConvert.
ToString
((bool) parameter);
System.Web.Extensions (14)
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (2)
143
WriteAttribute(@"Ignore", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Ignore)));
146
WriteAttribute(@"IsMergeResult", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsMergeResult)));
Compilation\XmlSerializer\SvcMapFileSerializer.cs (12)
114
WriteAttribute(@"Ignore", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Ignore)));
117
WriteAttribute(@"IsMergeResult", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsMergeResult)));
183
WriteElementStringRaw(@"GenerateAsynchronousMethods", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@GenerateAsynchronousMethods)));
185
WriteElementStringRaw(@"GenerateTaskBasedAsynchronousMethod", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@GenerateTaskBasedAsynchronousMethod)));
187
WriteElementStringRaw(@"EnableDataBinding", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@EnableDataBinding)));
198
WriteElementStringRaw(@"ImportXmlTypes", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@ImportXmlTypes)));
199
WriteElementStringRaw(@"GenerateInternalTypes", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@GenerateInternalTypes)));
200
WriteElementStringRaw(@"GenerateMessageContracts", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@GenerateMessageContracts)));
221
WriteElementStringRaw(@"GenerateSerializableTypes", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@GenerateSerializableTypes)));
224
WriteElementStringRaw(@"UseSerializerForFaults", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@UseSerializerForFaults)));
227
WriteElementStringRaw(@"Wrapped", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Wrapped)));
229
WriteElementStringRaw(@"ReferenceAllAssemblies", @"urn:schemas-microsoft-com:xml-wcfservicemap", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@ReferenceAllAssemblies)));
System.Web.Services (44)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (43)
243
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
265
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
287
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
526
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
565
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
686
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
715
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
775
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
815
WriteAttribute(@"ignoreCase", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IgnoreCase)));
843
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
865
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
888
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
919
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
950
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
983
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1015
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1048
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1168
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1189
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1210
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1245
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1267
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1274
WriteAttribute(@"soapActionRequired", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@SoapActionRequired)));
1305
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1330
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
1352
WriteAttribute(@"required", @"http://schemas.xmlsoap.org/wsdl/", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@Required)));
2233
WriteAttribute(@"abstract", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsAbstract)));
2250
WriteAttribute(@"nillable", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsNillable)));
2643
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
2677
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
2711
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
2745
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
2779
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
2813
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
2847
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
2881
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
2915
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
2949
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
2983
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3017
WriteAttribute(@"fixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsFixed)));
3133
WriteAttribute(@"abstract", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsAbstract)));
3139
WriteAttribute(@"mixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsMixed)));
3488
WriteAttribute(@"mixed", @"", System.Xml.XmlConvert.
ToString
((global::System.Boolean)((global::System.Boolean)o.@IsMixed)));
System\Web\Services\Description\WebReferenceOptions.cs (1)
226
WriteElementStringRaw(@"verbose", @"http://microsoft.com/webReference/", System.Xml.XmlConvert.
ToString
((System.Boolean)((System.Boolean)o.@Verbose)));
System.Xml (15)
System\Xml\Core\XmlWriter.cs (1)
282
WriteString(XmlConvert.
ToString
(value));
System\Xml\Schema\XmlValueConverter.cs (6)
1729
return XmlConvert.
ToString
((bool) value);
1741
if (sourceType == BooleanType) return XmlConvert.
ToString
((bool) value);
1758
if (destinationType == StringType) return XmlConvert.
ToString
((bool) value);
2344
return XmlConvert.
ToString
((bool) value);
2377
if (sourceType == BooleanType) return XmlConvert.
ToString
((bool) value);
2410
if (destinationType == StringType) return XmlConvert.
ToString
((bool) value);
System\Xml\Serialization\PrimitiveXmlSerializers.cs (1)
36
WriteElementStringRaw(@"boolean", @"", System.Xml.XmlConvert.
ToString
((System.Boolean)((System.Boolean)o)));
System\Xml\Serialization\SchemaObjectWriter.cs (6)
595
WriteAttribute(@"fixed", @"", XmlConvert.
ToString
(o.IsFixed));
672
WriteAttribute(@"abstract", @"", XmlConvert.
ToString
((System.Boolean)((System.Boolean)o.@IsAbstract)));
676
WriteAttribute(@"mixed", @"", XmlConvert.
ToString
((System.Boolean)((System.Boolean)o.@IsMixed)));
755
WriteAttribute(@"mixed", @"", XmlConvert.
ToString
((System.Boolean)((System.Boolean)o.@IsMixed)));
815
WriteAttribute(@"abstract", @"", XmlConvert.
ToString
((System.Boolean)((System.Boolean)o.@IsAbstract)));
833
WriteAttribute(@"nillable", @"", XmlConvert.
ToString
(o.IsNillable));
System\Xml\Serialization\XmlSerializationWriter.cs (1)
239
value = XmlConvert.
ToString
((bool)o);
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
3007
s = XmlConvert.
ToString
((bool)value);