Base:
method
ToString
System.Object.ToString()
76 references to ToString
mscorlib (1)
system\globalization\hijricalendar.cs (1)
289
int advance = Int32.Parse(str.
ToString
(), CultureInfo.InvariantCulture);
PresentationFramework (4)
src\Framework\System\Windows\Controls\DatePicker.cs (2)
1282
this._textBox.Watermark = string.Format(CultureInfo.CurrentCulture, SR.Get(SRID.DatePicker_WatermarkText), dtfi.LongDatePattern.
ToString
());
1288
this._textBox.Watermark = string.Format(CultureInfo.CurrentCulture, SR.Get(SRID.DatePicker_WatermarkText), dtfi.ShortDatePattern.
ToString
());
src\Framework\System\Windows\Markup\XamlReader.cs (2)
249
String.IsNullOrEmpty(reader.BaseURI.
ToString
()))
807
String.IsNullOrEmpty(reader.BaseURI.
ToString
()))
System (18)
net\System\Net\_AuthenticationState.cs (2)
213
GlobalLog.Print("AuthenticationState#" + ValidationHelper.HashString(this) + "::AttemptAuthenticate() httpWebRequest#" + ValidationHelper.HashString(httpWebRequest) + " AuthorizationHeader:" + AuthorizationHeader.
ToString
());
314
GlobalLog.Print("AuthenticationState#" + ValidationHelper.HashString(this) + "::ClearAuthReq() httpWebRequest#" + ValidationHelper.HashString(httpWebRequest) + " " + AuthorizationHeader.
ToString
() + ": " + ValidationHelper.ToString(httpWebRequest.Headers[AuthorizationHeader]));
net\System\Net\_AutoWebProxyScriptWrapper.cs (2)
846
GlobalLog.Print("AutoWebProxyScriptWrapper::FindProxyForURL() Calling JScript for url:" + url.
ToString
() + " host:" + host.
ToString
());
net\System\Net\CredentialCache.cs (2)
429
GlobalLog.Print("CredentialKey::Match(" + Host.
ToString
() + ":" + Port.ToString() +" & " + host.
ToString
() + ":" + port.ToString() + ")");
net\System\Net\HttpWebRequest.cs (1)
6289
curRange += from.
ToString
();
net\System\Net\mail\HeaderCollection.cs (4)
102
if(Logging.On)Logging.PrintInfo(Logging.Web, this, "Set", name.
ToString
() + "=" + value.
ToString
());
137
if(Logging.On)Logging.PrintInfo(Logging.Web, this, "Add", name.
ToString
() + "=" + value.
ToString
());
net\System\Net\ServicePointManager.cs (4)
779
GlobalLog.LeaveException("ServicePointManager::FindServicePointHelper() proxy has unsupported scheme:" + address.Scheme.
ToString
(), exception);
793
GlobalLog.Print("ServicePointManager::FindServicePointHelper() locking and looking up tempEntry:[" + tempEntry.
ToString
() + "]");
843
GlobalLog.Enter("ServicePointManager::FindServicePoint() host:" + host.
ToString
());
857
GlobalLog.Print("ServicePointManager::FindServicePoint() locking and looking up tempEntry:[" + tempEntry.
ToString
() + "]");
services\monitoring\system\diagnosticts\EventLogInternal.cs (3)
1309
throw new InvalidOperationException(SR.GetString(SR.CantOpenLog, logname.
ToString
(), currentMachineName), e);
1536
throw new ArgumentException(SR.GetString(SR.LogSourceMismatch, Source.
ToString
(), currentLogName, rightLogName));
1554
throw new ArgumentException(SR.GetString(SR.LogSourceMismatch, Source.
ToString
(), currentLogName, rightLogName));
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Converters\EncodingSearchableStringConverter.cs (1)
19
results.Add(((Encoding)value).EncodingName.
ToString
());
System.Core (1)
System\Security\Cryptography\CngProvider.cs (1)
87
return m_provider.
ToString
();
System.Data (6)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\EncodingSearchableStringConverter.cs (1)
19
results.Add(((Encoding)value).EncodingName.
ToString
());
fx\src\data\System\Data\Common\DbProviderFactories.cs (2)
125
string asmQualName = sysDataType.AssemblyQualifiedName.
ToString
().Replace(DbProviderFactoriesConfigurationHandler.sqlclientPartialAssemblyQualifiedName, DbProviderFactoriesConfigurationHandler.oracleclientPartialAssemblyQualifiedName);
184
if (configDataTable.Rows[i][AssemblyQualifiedName].ToString().ToLowerInvariant().Contains(DbProviderFactoriesConfigurationHandler.oracleclientProviderNamespace.
ToString
().ToLowerInvariant()))
fx\src\data\System\Data\Common\DbProviderFactoriesConfigurationHandler.cs (2)
46
invariantName = factType.Namespace.
ToString
();
48
assemblyQualifiedName = factType.AssemblyQualifiedName.
ToString
();
fx\src\data\System\Data\Odbc\OdbcCommand.cs (1)
726
throw ADP.InvalidOperation(method.
ToString
());
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\Function.cs (1)
644
string value = reader.Value.
ToString
();
System.Data.Linq (1)
ChangeTracker.cs (1)
612
keys.AppendFormat("{0}.{1}", this.Type.Name.
ToString
(), key.Name);
System.Data.Services (1)
System\Data\Services\RequestQueryProcessor.cs (1)
1241
skipTokenBindings[1] = Expression.Bind(skipTokenWrapperType.GetProperty("Description"), Expression.Constant(skipTokenDescription.
ToString
()));
System.Data.SqlXml (3)
System\Xml\Xsl\QIL\QilXmlWriter.cs (2)
155
this.writer.WriteAttributeString("name", reference.DebugName.
ToString
());
183
this.writer.WriteAttributeString("name", reference.DebugName.
ToString
());
System\Xml\Xsl\XmlIlGenerator.cs (1)
246
methInfo = this.module.DefineMethod(ndRef.DebugName.
ToString
(), typReturn, new Type[] {}, new string[] {}, methAttrs);
System.Drawing (1)
misc\DbgUtil.cs (1)
369
return trace.
ToString
();
System.IdentityModel (9)
System\IdentityModel\Metadata\EntityId.cs (1)
44
if (value.
ToString
().Length > MaximumLength)
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (4)
80
customValidator = attribute.Value.
ToString
();
86
string revocationModeString = attribute.Value.
ToString
();
112
string validationModeString = attribute.Value.
ToString
();
148
string trustedStoreLocationString = attribute.Value.
ToString
();
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (4)
127
customValidator = attribute.Value.
ToString
();
133
string revocationModeString = attribute.Value.
ToString
();
156
string validationModeString = attribute.Value.
ToString
();
187
string trustedStoreLocationString = attribute.Value.
ToString
();
System.ServiceModel (9)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (2)
211
instance.SetProperty(AdministrationStrings.ProxyAddress, http.ProxyAddress.AbsoluteUri.
ToString
());
233
instance.SetProperty(AdministrationStrings.CustomDeadLetterQueue, msmq.CustomDeadLetterQueue.AbsoluteUri.
ToString
());
System\ServiceModel\Channels\DefaultWebSocketConnectionHandler.cs (1)
229
response.Headers.Add(WebSocketTransportSettings.BinaryEncoderTransferModeHeader, this.transferMode.
ToString
());
System\ServiceModel\Diagnostics\PeerNodeTraceRecord.cs (4)
245
writer.WriteElementString("X500DistinguishedName", (claim.Resource as X500DistinguishedName).Name.
ToString
());
323
writer.WriteElementString("MeshId", meshId.
ToString
());
351
writer.WriteElementString("MeshId", meshId.
ToString
());
404
writer.WriteElementString("MeshId", meshId.
ToString
());
System\ServiceModel\Diagnostics\ServicePerformanceCountersBase.cs (1)
233
uri = pathExtension.ApplicationVirtualPath + pathExtension.VirtualPath.
ToString
().Replace("~", "");
System\ServiceModel\Security\WSTrustChannel.cs (1)
446
new NotSupportedException(SR.GetString(SR.ID3141, requestType.
ToString
())));
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\ServiceHttpModule.cs (1)
101
application.Request.RawUrl.
ToString
(), application.Request.PhysicalApplicationPath);
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Diagnostics\WorkflowServiceHostPerformanceCounters.cs (1)
201
uri = pathExtension.ApplicationVirtualPath + pathExtension.VirtualPath.
ToString
().Replace("~", "");
System.Web (5)
Hosting\ProcessHost.cs (1)
1124
SR.GetString(SR.Failure_Calling_Preload_Provider)} ).
ToString
());
Util\AppVerifier.cs (4)
239
errorString.AppendLine(assertInvocationInfo.StackTrace.
ToString
());
251
errorString.AppendLine(beginHandlerInvocationInfo.StackTrace.
ToString
());
259
errorString.AppendLine(firstAsyncInvocation.StackTrace.
ToString
());
624
errorString.AppendLine(assertInvocationInfo.StackTrace.
ToString
());
System.Windows.Forms (4)
misc\DbgUtil.cs (1)
369
return trace.
ToString
();
winforms\Managed\System\WinForms\DataGrid.cs (1)
1511
Debug.WriteLineIf(CompModSwitches.DataGridCursor.TraceVerbose, "DataGridCursor: DataSource being set to " + ((value == null) ? "null" : value.
ToString
()));
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
4824
Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "PropertyGridView:CommitValue(" + (text==null ? "null" :text.
ToString
()) + ")");
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
2164
return s + ", Text: " + txt.
ToString
();
System.Workflow.Activities (3)
Common\BasePropertyDescriptor.cs (1)
352
this.desc = SR.GetString(SR.InvokeParameterDescription, propertyType.FullName.
ToString
());
LocalService\LogicalCallContext.cs (1)
43
info.AddValue("identity", identity.
ToString
());
LocalService\MessageQueueKey.cs (1)
245
stringBuilder.AppendLine("Method Name:" + this.operation.
ToString
());
System.Workflow.ComponentModel (1)
Shared\BasePropertyDescriptor.cs (1)
351
this.desc = SR.GetString(SR.InvokeParameterDescription, propertyType.FullName.
ToString
());
System.Xml (2)
System\Xml\Schema\SchemaAttDef.cs (2)
189
String s1 = values[0].
ToString
();
192
String s2 = values[1].
ToString
();
WindowsBase (3)
Base\MS\Internal\AvTrace.cs (2)
317
traceBuilder.Append("; " + labels[i].
ToString
() + ".HashCode='"
320
traceBuilder.Append("; " + labels[i].
ToString
() + ".Type='"
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
1962
rightName = rightName.
ToString
().ToUpper(CultureInfo.InvariantCulture);