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