40 references to ToString
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
262return XmlConvert.ToString((int)value);
System.Data (4)
fx\src\data\System\Data\Common\Int32Storage.cs (1)
227return XmlConvert.ToString((Int32)value);
fx\src\data\System\Data\Common\SQLConvert.cs (2)
733return XmlConvert.ToString(((SqlInt32)value).Value); 755return XmlConvert.ToString((Int32) value);
fx\src\data\System\Data\SQLTypes\SQLInt32.cs (1)
610writer.WriteString(XmlConvert.ToString(m_value));
System.Data.Services (2)
System\Data\Services\Parsing\WebConvert.cs (1)
657result = XmlConvert.ToString((Int32)value);
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1577xmlWriter.WriteAttributeString(facetName, XmlConvert.ToString((int)facetValue));
System.Data.Services.Client (2)
parent\Server\System\Data\Services\Parsing\WebConvert.cs (1)
657result = XmlConvert.ToString((Int32)value);
System\Data\Services\Client\ClientConvert.cs (1)
329return XmlConvert.ToString((Int32)propertyValue);
System.IdentityModel (1)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
4860writer.WriteAttributeString(Saml2Constants.Attributes.Count, XmlConvert.ToString(data.Count.Value));
System.Runtime.Serialization (3)
System\Runtime\Serialization\ExtensionDataReader.cs (2)
669this.value = XmlConvert.ToString((int)(isTypedNode ? ((DataNode<char>)dataNode).GetValue() : (char)dataNode.Value)); 678this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<int>)dataNode).GetValue() : (int)dataNode.Value);
System\Xml\XmlConverter.cs (1)
414static public string ToString(int value) { return XmlConvert.ToString(value); }
System.ServiceModel (1)
System\ServiceModel\Channels\PrivacyNoticeBindingElement.cs (1)
96assertion.SetAttribute(PrivacyNoticePolicyStrings.PrivacyNoticeVersionAttributeName, PrivacyNoticePolicyStrings.PrivacyNoticeNamespace, XmlConvert.ToString(settings.Version));
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
190return XmlConvert.ToString((int) parameter);
System.Web.Extensions (4)
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (2)
149WriteAttribute(@"SourceId", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@SourceId))); 193WriteAttribute(@"SourceId", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@SourceId)));
Compilation\XmlSerializer\SvcMapFileSerializer.cs (2)
120WriteAttribute(@"SourceId", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@SourceId))); 164WriteAttribute(@"SourceId", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@SourceId)));
System.Web.Services (2)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
806WriteAttribute(@"group", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@Group))); 809WriteAttribute(@"capture", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@Capture)));
System.Xml (19)
System\Xml\Core\XmlWriter.cs (1)
320WriteString(XmlConvert.ToString(value));
System\Xml\Schema\XmlValueConverter.cs (10)
832throw new OverflowException(Res.GetString(Res.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Byte" })); 839throw new OverflowException(Res.GetString(Res.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int16" })); 846throw new OverflowException(Res.GetString(Res.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "SByte" })); 853throw new OverflowException(Res.GetString(Res.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "UInt16" })); 1030return XmlConvert.ToString((int) value); 1046if (sourceType == Int32Type) return XmlConvert.ToString((int) value); 1080if (destinationType == StringType) return XmlConvert.ToString((int) value); 2359return XmlConvert.ToString((int) value); 2385if (sourceType == Int32Type) return XmlConvert.ToString((int) value); 2455if (destinationType == StringType) return XmlConvert.ToString((int) value);
System\Xml\Schema\XsdDuration.cs (6)
375sb.Append(XmlConvert.ToString(this.years)); 380sb.Append(XmlConvert.ToString(this.months)); 387sb.Append(XmlConvert.ToString(this.days)); 394sb.Append(XmlConvert.ToString(this.hours)); 399sb.Append(XmlConvert.ToString(this.minutes)); 405sb.Append(XmlConvert.ToString(this.seconds));
System\Xml\Serialization\PrimitiveXmlSerializers.cs (1)
27WriteElementStringRaw(@"int", @"", System.Xml.XmlConvert.ToString((System.Int32)((System.Int32)o)));
System\Xml\Serialization\XmlSerializationWriter.cs (1)
235value = XmlConvert.ToString((int)o);