Base:
method
ToString
System.Object.ToString()
68 references to ToString
ComSvcConfig (2)
ComAdminWrapper.cs (2)
780throw Tool.CreateException(SR.GetString(SR.FailedToGetRuntime, appClrVersion.ToString()), null); 786throw Tool.CreateException(SR.GetString(SR.FailedToGetRuntime, appClrVersion.ToString()), null);
mscorlib (17)
system\applicationid.cs (1)
100sb.Append(m_version.ToString());
system\operatingsystem.cs (1)
155_versionString = os + _version.ToString();
system\reflection\emit\assemblybuilder.cs (1)
1891strFileVersion = GetVersion().ToString();
system\resources\manifestbasedresourcegroveler.cs (5)
570Contract.Assert(false, "[This assert catches satellite assembly build/deployment problems - report this message to your build lab & loc engineer]" + Environment.NewLine + "GetSatelliteAssembly failed for culture " + lookForCulture.Name + " and version " + (_mediator.SatelliteContractVersion == null ? _mediator.MainAssembly.GetVersion().ToString() : _mediator.SatelliteContractVersion.ToString()) + " of assembly " + _mediator.MainAssembly.GetSimpleName() + " with error code 0x" + hr.ToString("X", CultureInfo.InvariantCulture) + Environment.NewLine + "Exception: " + fle); 577Contract.Assert(false, "[This assert catches satellite assembly build/deployment problems - report this message to your build lab & loc engineer]" + Environment.NewLine + "GetSatelliteAssembly failed for culture " + lookForCulture.Name + " and version " + (_mediator.SatelliteContractVersion == null ? _mediator.MainAssembly.GetVersion().ToString() : _mediator.SatelliteContractVersion.ToString()) + " of assembly " + _mediator.MainAssembly.GetSimpleName() + Environment.NewLine + "Exception: " + bife); 645satAssemName += ", Version=" + _mediator.SatelliteContractVersion.ToString();
system\runtime\interopservices\registrationservices.cs (2)
131String strAsmVersion = rtAssembly.GetVersion().ToString(); 183String strAsmVersion = rtAssembly.GetVersion().ToString();
system\runtime\interopservices\typelibconverter.cs (1)
433asmBldr.DefineVersionInfoResource(strProductName, asmName.Version.ToString(), null, null, null);
system\security\cryptography\cryptoconfig.cs (1)
96version = ((RuntimeType)typeof(CryptoConfig)).GetRuntimeAssembly().GetVersion().ToString();
system\security\permissions\strongnameidentitypermission.cs (2)
460esd.AddAttribute("AssemblyVersion", m_strongNames[0].m_version.ToString()); 473child.AddAttribute("AssemblyVersion", m_strongNames[n].m_version.ToString());
system\security\policy\strongname.cs (1)
152root.AddAttribute( "Version", m_version.ToString() );
system\security\policy\strongnamemembershipcondition.cs (1)
233root.AddAttribute( s_tagVersion, Version.ToString() );
system\security\util\xmlutil.cs (1)
114assemblyVersion = an.Version.ToString();
PresentationBuildTasks (1)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
2387s_generatedCode_ToolVersion = assemblyName.Version.ToString();
PresentationCore (1)
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
488string version = currAssemblyName.Version?.ToString();
PresentationFramework (5)
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (1)
289string assemblyVersion = assemblyInfo.Version.ToString();
src\Framework\MS\Internal\AppModel\XappLauncher.cs (1)
1229requiredVersion = assyName.Version.ToString();
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (2)
169key.SetValue("assemblyVersion", this.AssemblyVersion.ToString()); 170key.SetValue("winFXVersion", this.WinFXVersion.ToString());
src\Framework\System\Windows\SystemResources.cs (1)
965string packUri = string.Format("pack://application:,,,/{0};v{1};component/{2}", asemblyName.Name, asemblyName.Version.ToString(), resourceName);
System (4)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2900Output.WriteLine(System.Environment.Version.ToString());
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2407Output.WriteLine(System.Environment.Version.ToString());
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
227Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_http_status_line, (CacheHttpVersion != null ? CacheHttpVersion.ToString() : "null"), (int)CacheStatusCode, CacheStatusDescription));
net\System\Net\HttpListenerRequest.cs (1)
281GlobalLog.Print("HttpListenerContext#" + ValidationHelper.HashString(this) + "::.ctor() RequestId:" + RequestId + " ConnectionId:" + m_ConnectionId + " RawConnectionId:" + memoryBlob.RequestBlob->RawConnectionId + " UrlContext:" + memoryBlob.RequestBlob->UrlContext + " RawUrl:" + m_RawUrl + " Version:" + m_Version.ToString() + " Secure:" + m_SslStatus.ToString());
System.Activities (4)
System\Activities\WorkflowIdentity.cs (2)
131result.Append(this.version.ToString()); 154return (this.version == null) ? null : this.version.ToString();
System\Activities\XamlIntegration\ImplementationVersionConverter.cs (1)
42return implementationVersion.ToString();
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
156new CodeAttributeArgument(new CodePrimitiveExpression(currentAssemblyName.Version.ToString())));
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\DesignerConfigurationService.cs (1)
334throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkVersion, value.Version.ToString())));
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
142validationKeyPath.AppendFormat("{0}{1}{2}", "v", currentAssemblyName.Version.ToString(), "\\");
System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (1)
31return this.version.ToString();
System.Configuration (1)
System\Configuration\ClientConfigPaths.cs (1)
471_productVersion = exeAssembly.GetName().Version.ToString();
System.Data (5)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerConfigurationService.cs (1)
334throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkVersion, value.Version.ToString())));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
142validationKeyPath.AppendFormat("{0}{1}{2}", "v", currentAssemblyName.Version.ToString(), "\\");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (1)
31return this.version.ToString();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
2210asmRef.Version.ToString(), TypeSystemAssemblyVersion.ToString());
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
197typeof(EntityClassGenerator).Assembly.GetName().Version.ToString());
System.Data.Services (1)
System\Data\Services\DataService.cs (1)
809host.ResponseVersion = newDescription.ResponseVersion.ToString() + ";";
System.Data.Services.Client (4)
System\Data\Services\Client\DataServiceContext.cs (4)
1992request.Headers[XmlConstants.HttpDataServiceVersion] = requestVersion.ToString() + Util.VersionSuffix; 1995request.Headers[XmlConstants.HttpMaxDataServiceVersion] = Util.MaxResponseVersion.ToString() + Util.VersionSuffix; 2291StringBuilder supportedVersions = new StringBuilder("'").Append(Util.SupportedResponseVersions[0].ToString()); 2295supportedVersions.Append(Util.SupportedResponseVersions[versionIdx].ToString());
System.Drawing (1)
commonui\System\Drawing\Design\ToolboxItem.cs (1)
283return this.AssemblyName.Version.ToString();
System.Runtime.Remoting (2)
channels\http\httpclientchannel.cs (1)
412"; MS .NET Remoting; MS .NET CLR " + System.Environment.Version.ToString() + " )";
channels\http\httpserverchannel.cs (1)
538"MS .NET Remoting, MS .NET CLR " + System.Environment.Version.ToString();
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
520generatedCodeAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Version.ToString())));
System.ServiceModel (2)
System\ServiceModel\Channels\MsmqDiagnostics.cs (1)
316new StringTraceRecord("MSMQVersion", version.ToString()),
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
555generatedCodeAttribute.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Version.ToString())));
System.Web (3)
Configuration\CompilationSection.cs (1)
937ConfigUtil.SetFX45DefaultValue(this, _propTargetFramework, BinaryCompatibility.Current.TargetFramework.ToString());
Configuration\VersionConverter.cs (1)
21return version.ToString();
Handlers\AssemblyResourceLoader.cs (1)
420string assemblyVersion = assemblyName.Version.ToString();
System.Web.Extensions (2)
UI\ScriptReference.cs (1)
310string version = assemblyName.Version.ToString();
UI\ScriptResourceAttribute.cs (1)
348output.AppendLine("// Version: " + assemblyName.Version.ToString());
System.Web.Services (2)
System\Web\Services\Description\WebCodeGenerator.cs (1)
52decl.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(version == null ? assemblyName.Version.ToString() : version)));
System\Web\Services\Protocols\ClientProtocol.cs (1)
719private static string UserAgentDefault = "Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol " + System.Environment.Version.ToString() + ")";
System.Workflow.Runtime (2)
Tracking.cs (1)
533throw new InvalidOperationException(ExecutionStringManager.MissingProfileForService + serviceType.ToString() + ExecutionStringManager.MissingProfileForVersion + versionId.ToString());
Tracking\SqlTrackingService.cs (1)
637cmd.Parameters.Add(this._dbResourceAllocator.NewDbParameter("@Version", profileVersionId.ToString()));
System.Xml (3)
System\Xml\Serialization\CodeExporter.cs (1)
109decl.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(version == null ? assemblyName.Version.ToString() : version)));
System\Xml\Serialization\Compilation.cs (2)
331writer.WriteLine("[assembly:System.Reflection.AssemblyVersionAttribute(\"" + types[0].Assembly.GetName().Version.ToString() + "\")]"); 455string assemblyVersion = types[0].Assembly.GetName().Version.ToString();
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
83new CodeAttributeArgument(new CodePrimitiveExpression(assemblyName.Version.ToString())));