84 references to ToString
mscorlib (10)
system\convert.cs (1)
1798
return
ToString
(value,null);
system\runtime\serialization\formatterconverter.cs (1)
165
return System.Convert.
ToString
(value, CultureInfo.InvariantCulture);
system\security\principal\windowsidentity.cs (8)
1345
Claim claim = new Claim(claimType, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.
ToString
(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture));
1352
Claim claim = new Claim(claimType, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.
ToString
(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture));
1403
instanceClaims.Add(new Claim(ClaimTypes.PrimaryGroupSid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.
ToString
(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1407
instanceClaims.Add(new Claim(ClaimTypes.GroupSid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.
ToString
(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1414
instanceClaims.Add(new Claim(ClaimTypes.DenyOnlyPrimaryGroupSid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.
ToString
(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1418
instanceClaims.Add(new Claim(ClaimTypes.DenyOnlySid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.
ToString
(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1452
instanceClaims.Add(new Claim(ClaimTypes.PrimarySid, sid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.
ToString
(sid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1456
instanceClaims.Add(new Claim(ClaimTypes.DenyOnlyPrimarySid, sid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.
ToString
(sid.IdentifierAuthority, CultureInfo.InvariantCulture)));
System.ComponentModel.DataAnnotations (1)
DataAnnotations\RegularExpressionAttribute.cs (1)
63
string stringValue = Convert.
ToString
(value, CultureInfo.CurrentCulture);
System.Data (21)
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
217
return (value == null) ? (string)null : Convert.
ToString
(value, CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DBSchemaRow.cs (6)
62
return Convert.
ToString
(value, CultureInfo.InvariantCulture);
104
return Convert.
ToString
(value, CultureInfo.InvariantCulture);
120
return Convert.
ToString
(value, CultureInfo.InvariantCulture);
137
return Convert.
ToString
(value, CultureInfo.InvariantCulture);
153
return Convert.
ToString
(value, CultureInfo.InvariantCulture);
169
return Convert.
ToString
(value, CultureInfo.InvariantCulture);
fx\src\data\System\Data\DataException.cs (3)
522
values += Convert.
ToString
(keys[i], null) + (i < keys.Length - 1 ? ", " : String.Empty);
535
return Res.GetString(Res.DataConstraint_ViolationValue, columns[0].ColumnName, Convert.
ToString
(values[0], null));
1120
return _IndexOutOfRange(Res.GetString(Res.DataRelation_OutOfRange, Convert.
ToString
(index, null)));
fx\src\data\System\Data\Filter\BinaryNode.cs (4)
163
return table.Compare(Convert.
ToString
(vLeft, FormatProvider), Convert.
ToString
(vRight, FormatProvider), comparer);
332
value = Convert.
ToString
(vLeft, FormatProvider) + Convert.
ToString
(vRight, FormatProvider);
fx\src\data\System\Data\Filter\FunctionNode.cs (1)
299
return Convert.
ToString
(argumentValues[0], FormatProvider);
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (1)
215
parameter.ParameterName = Convert.
ToString
(dataRow[parameterName, DataRowVersion.Default], CultureInfo.InvariantCulture).TrimStart(new char[] { '@', ' ', ':'});
fx\src\data\System\Data\OleDb\OleDbConnection.cs (2)
127
return Convert.
ToString
(value, CultureInfo.InvariantCulture);
158
return Convert.
ToString
(value, CultureInfo.InvariantCulture);
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (1)
180
return Convert.
ToString
(value, CultureInfo.InvariantCulture);
fx\src\data\System\Data\xmlsaver.cs (2)
78
s = (String) Convert.
ToString
(entry.Key, CultureInfo.InvariantCulture);
88
v = (String) Convert.
ToString
(entry.Value, CultureInfo.InvariantCulture);
System.Data.Services (7)
System\Data\Services\Epm\EpmHelper.cs (6)
86
if (!Boolean.TryParse(Convert.
ToString
(epmKeepInContentProperty.Value, CultureInfo.InvariantCulture), out epmKeepInContent))
112
epmSourcePath = Convert.
ToString
(epmSourcePathProperty.Value, CultureInfo.InvariantCulture);
115
String epmTargetPath = Convert.
ToString
(epmTargetPathProperty.Value, CultureInfo.InvariantCulture);
157
String epmNsPrefix = epmNsPrefixProperty != null ? Convert.
ToString
(epmNsPrefixProperty.Value, CultureInfo.InvariantCulture) : null;
158
String epmNsUri = epmNsUriProperty != null ? Convert.
ToString
(epmNsUriProperty.Value, CultureInfo.InvariantCulture) : null;
177
Convert.
ToString
(epmContentKindProperty.Value, CultureInfo.InvariantCulture),
System\Data\Services\Serializers\BatchWriter.cs (1)
111
string text = Convert.
ToString
(headerValue, System.Globalization.CultureInfo.InvariantCulture);
System.Data.Services.Design (8)
parent\Server\System\Data\Services\Epm\EpmHelper.cs (6)
86
if (!Boolean.TryParse(Convert.
ToString
(epmKeepInContentProperty.Value, CultureInfo.InvariantCulture), out epmKeepInContent))
112
epmSourcePath = Convert.
ToString
(epmSourcePathProperty.Value, CultureInfo.InvariantCulture);
115
String epmTargetPath = Convert.
ToString
(epmTargetPathProperty.Value, CultureInfo.InvariantCulture);
157
String epmNsPrefix = epmNsPrefixProperty != null ? Convert.
ToString
(epmNsPrefixProperty.Value, CultureInfo.InvariantCulture) : null;
158
String epmNsUri = epmNsUriProperty != null ? Convert.
ToString
(epmNsUriProperty.Value, CultureInfo.InvariantCulture) : null;
177
Convert.
ToString
(epmContentKindProperty.Value, CultureInfo.InvariantCulture),
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
204
if (!Boolean.TryParse(Convert.
ToString
(isOpenTypeProperty.Value, CultureInfo.InvariantCulture), out isOpenType))
540
if (!String.Equals(Convert.
ToString
(hasStreamMetadataProperty.Value, CultureInfo.InvariantCulture),
System.Data.SqlXml (1)
System\Xml\Xsl\QIL\QilXmlWriter.cs (1)
144
this.writer.WriteValue(Convert.
ToString
(((QilLiteral) node).Value, CultureInfo.InvariantCulture));
System.Management (1)
property.cs (1)
776
wmiValue = Convert.
ToString
(val,(IFormatProvider)culInfo.GetFormat(typeof(System.UInt32)));
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
236
return (parameter != null) ? Convert.
ToString
(parameter, CultureInfo.InvariantCulture) : null;
System.Web (13)
httpserverutility.cs (1)
1122
return HtmlEncode(Convert.
ToString
(value, CultureInfo.CurrentCulture));
ModelBinding\DictionaryValueProvider`1.cs (1)
23
string attemptedValue = Convert.
ToString
(rawValue, culture);
ModelBinding\ElementalValueProvider.cs (1)
35
? new ValueProviderResult(RawValue, Convert.
ToString
(RawValue, Culture), Culture)
ModelBinding\ModelMetadata.cs (2)
387
string toStringResult = Convert.
ToString
(Model, CultureInfo.CurrentCulture);
405
return Convert.
ToString
(firstProperty.Model, CultureInfo.CurrentCulture);
ModelBinding\SimpleValueProvider.cs (1)
44
string attemptedValue = Convert.
ToString
(rawValue, _cultureInfo);
Routing\ParsedRoute.cs (3)
246
pendingParts.Append(UrlEncode(Convert.
ToString
(acceptedParameterValue, CultureInfo.InvariantCulture)));
259
url.Append(UrlEncode(Convert.
ToString
(acceptedParameterValue, CultureInfo.InvariantCulture)));
323
url.Append(Uri.EscapeDataString(Convert.
ToString
(value, CultureInfo.InvariantCulture)));
Routing\Route.cs (1)
169
string parameterValueString = Convert.
ToString
(parameterValue, CultureInfo.InvariantCulture);
UI\ControlBuilder.cs (2)
2441
convertedValue = System.Convert.
ToString
(evalValue, CultureInfo.CurrentCulture);
2444
convertedValue = PropertyConverter.ObjectFromString(entry.Type, memberInfo, System.Convert.
ToString
(evalValue, CultureInfo.CurrentCulture));
UI\WebControls\basecomparevalidator.cs (1)
487
return System.Convert.
ToString
(value, CultureInfo.CurrentCulture);
System.Web.Extensions (1)
UI\WebControls\Expressions\SearchExpression.cs (1)
57
string query = Convert.
ToString
(values.First().Value, CultureInfo.CurrentCulture);
System.Web.Services (1)
System\Web\Services\Protocols\Scalars.cs (1)
28
return (string)Convert.
ToString
(value, CultureInfo.InvariantCulture);
System.Windows.Forms (6)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
810
Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "ProcessTypeInfoEnum: adding variable value=" + Convert.
ToString
(varValue, CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\Control.cs (1)
17336
obj = Convert.
ToString
(obj, CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
1241
return (displayValue != null) ? Convert.
ToString
(displayValue, CultureInfo.CurrentCulture) : string.Empty;
winforms\Managed\System\WinForms\ListControl.cs (2)
567
return (item != null) ? Convert.
ToString
(item, CultureInfo.CurrentCulture) : "";
601
return (filteredItem != null) ? Convert.
ToString
(item, CultureInfo.CurrentCulture) : "";
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4316
v.data1 = SysAllocString(Convert.
ToString
(var, CultureInfo.InvariantCulture));
System.Workflow.Activities (1)
Rules\CodeDomDecompiler.cs (1)
50
string svalue = Convert.
ToString
(value, CultureInfo.InvariantCulture);
System.Workflow.ComponentModel (2)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
664
stringValue = Convert.
ToString
(obj, CultureInfo.InvariantCulture);
1203
return Convert.
ToString
(value, CultureInfo.InvariantCulture);
System.Xml (10)
System\Xml\Serialization\XmlCodeExporter.cs (3)
235
valueExpression = new CodePrimitiveExpression(Convert.
ToString
(value, NumberFormatInfo.InvariantInfo));
248
valueExpression = new CodePrimitiveExpression(Convert.
ToString
(value, NumberFormatInfo.InvariantInfo));
275
valueExpression = new CodePrimitiveExpression(Convert.
ToString
(value, NumberFormatInfo.InvariantInfo));
System\Xml\Serialization\XmlReflectionImporter.cs (2)
297
string value1 = Convert.
ToString
(accessor.Default, CultureInfo.InvariantCulture);
298
string value2 = Convert.
ToString
(existing.Default, CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSerializationWriter.cs (1)
3100
Writer.Write(Convert.
ToString
(value, NumberFormatInfo.InvariantInfo));
System\Xml\XmlConvert.cs (1)
1142
return Convert.
ToString
(value, NumberFormatInfo.InvariantInfo);
System\Xml\XPath\Internal\CompiledXPathExpr.cs (2)
161
string s1 = Convert.
ToString
(x, this.cinfo);
162
string s2 = Convert.
ToString
(y, this.cinfo);
System\Xml\XPath\Internal\OperandQuery.cs (1)
31
w.WriteAttributeString("value", Convert.
ToString
(val, CultureInfo.InvariantCulture));