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