Base:
method
ToString
System.ValueType.ToString()
175 references to ToString
aspire (1)
Commands\PublishCommandBase.cs (1)
500InputType.Boolean => (await _interactionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
Aspire.Azure.AI.OpenAI.Tests (2)
AspireAzureOpenAIClientBuilderChatClientExtensionsTests.cs (1)
173new("Aspire:Azure:AI:OpenAI:DisableTracing", disableOpenTelemetry.ToString()),
AspireAzureOpenAIClientBuilderEmbeddingGeneratorExtensionsTests.cs (1)
173new("Aspire:Azure:AI:OpenAI:DisableTracing", disableOpenTelemetry.ToString()),
Aspire.Cli.Tests (2)
CliSmokeTests.cs (1)
40}, locale, isValid.ToString(), environmentVariableName).Dispose();
Commands\PublishCommandPromptingIntegrationTests.cs (1)
668public void SetupBooleanResponse(bool response) => _responses.Enqueue((response.ToString().ToLower(), ResponseType.Boolean));
Aspire.Dashboard.Tests (1)
Integration\StartupTests.cs (1)
764data[DashboardConfigNames.UIDisableResourceGraphName.ConfigKey] = value?.ToString().ToLower();
Aspire.Hosting (1)
ParameterResourceBuilderExtensions.cs (1)
166new("parameter.secret", resource.Secret.ToString()),
Aspire.OpenAI.Tests (4)
AspireOpenAIClientBuilderChatClientExtensionsTests.cs (2)
176new("Aspire:OpenAI:DisableTracing", disableOpenTelemetry.ToString()), 234new("Aspire:OpenAI:DisableTracing", disableOpenTelemetry.ToString()),
AspireOpenAIClientBuilderEmbeddingGeneratorExtensionsTests.cs (2)
176new("Aspire:OpenAI:DisableTracing", disableOpenTelemetry.ToString()), 234new("Aspire:OpenAI:DisableTracing", disableOpenTelemetry.ToString()),
blazor-devserver (1)
Server\Program.cs (1)
41["ApplyCopHeaders"] = args.Contains("--apply-cop-headers").ToString()
Crossgen2Tasks (1)
ResolveReadyToRunCompilers.cs (1)
169Crossgen2Tool.SetMetadata(MetadataKeys.IsVersion5, version5.ToString());
dotnet-dev-certs (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
903$"{c.Thumbprint} - {c.Subject} - Valid from {c.NotBefore:u} to {c.NotAfter:u} - IsHttpsDevelopmentCertificate: {IsHttpsDevelopmentCertificate(c).ToString().ToLowerInvariant()} - IsExportable: {Instance.IsExportable(c).ToString().ToLowerInvariant()}";
dotnet-svcutil-lib (13)
AppInsightsTelemetryClient.cs (1)
122context.GlobalProperties["TestMode"] = testMode.ToString();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlRootAttribute.cs (1)
92get { return (_ns == null ? String.Empty : _ns) + ":" + ElementName + ":" + _nullable.ToString(); }
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (2)
1416sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IncludeTimestamp: {0}", _includeTimestamp.ToString())); 1420sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ProtectTokens: {0}", _protectTokens.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElementImporter.cs (1)
238sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireSignatureConfirmation: {0}", _requireSignatureConfirmation.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (1)
187sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireSignatureConfirmation: {0}", _requireSignatureConfirmation.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
601sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "UseStrTransform: {0}", _useStrTransform.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (1)
165sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", _requireCancellation.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecurityTokenParameters.cs (1)
96sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireDerivedKeys: {0}", _requireDerivedKeys.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SslSecurityTokenParameters.cs (2)
111sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.RequireCancellation.ToString())); 112sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireClientCertificate: {0}", this.RequireClientCertificate.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SspiSecurityTokenParameters.cs (1)
90sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.RequireCancellation.ToString()));
Tool.cs (1)
183{ "RequiresBootstrapping", options?.RequiresBoostrapping.ToString() },
dotnet-svcutil-lib.Tests (1)
ProjectUtils.cs (1)
89var envVars = new Dictionary<string, string> { { AppInsightsTelemetryClient.OptOutVariable, (!AppInsightsTelemetryClient.IsUserOptedIn).ToString() } };
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248logger.LogError($"{hostingProcess.ProcessName} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
InProcessWebSite (1)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (1)
1043await ctx.Response.WriteAsync(StartupHookCalled.ToString());
Interop.FunctionalTests (4)
Http3\Http3TlsTests.cs (4)
83await context.Response.WriteAsync(hasCert.ToString()); 125await context.Response.WriteAsync(hasCert.ToString()); 170await context.Response.WriteAsync(hasCert.ToString()); 224await context.Response.WriteAsync(hasCert.ToString());
LocalizationWebsite (1)
StartupContentLanguageHeader.cs (1)
39await context.Response.WriteAsync(hasContentLanguageHeader.ToString());
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticationProperties.cs (1)
187Items[key] = value.GetValueOrDefault().ToString();
Microsoft.AspNetCore.Authentication.Core.Test (4)
AuthenticationPropertiesTests.cs (4)
277Assert.Equal(true.ToString(), props.Items["foo"]); 280Assert.Equal(false.ToString(), props.Items["foo"]); 291props.Items["foo"] = true.ToString(); 294props.Items["foo"] = false.ToString();
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
903$"{c.Thumbprint} - {c.Subject} - Valid from {c.NotBefore:u} to {c.NotAfter:u} - IsHttpsDevelopmentCertificate: {IsHttpsDevelopmentCertificate(c).ToString().ToLowerInvariant()} - IsExportable: {Instance.IsExportable(c).ToString().ToLowerInvariant()}";
Microsoft.AspNetCore.Http.Extensions.Tests (4)
JsonOptionsTests.cs (2)
18options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", false.ToString()); 36options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", true.ToString());
RequestDelegateFactoryTests.cs (2)
3272options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", false.ToString()); 3292options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", true.ToString());
Microsoft.AspNetCore.Http.Results.Tests (4)
ResultsOfTHelperTests.cs (4)
21options.RuntimeConfigurationOptions.Add("System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported", isDynamicCodeSupported.ToString()); 38options.RuntimeConfigurationOptions.Add("System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported", isDynamicCodeSupported.ToString()); 55options.RuntimeConfigurationOptions.Add("System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported", isDynamicCodeSupported.ToString()); 70options.RuntimeConfigurationOptions.Add("System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported", false.ToString());
Microsoft.AspNetCore.Mvc.Core.Test (3)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
276options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", isReflectionEnabledByDefault.ToString());
JsonOptionsTest.cs (2)
17options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", false.ToString()); 35options.RuntimeConfigurationOptions.Add("System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault", true.ToString());
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DefaultHtmlGenerator.cs (1)
794replaceValidationMessageContents.ToString().ToLowerInvariant());
Microsoft.AspNetCore.Server.IISIntegration (1)
WebHostBuilderIISExtensions.cs (1)
57hostBuilder.UseSetting(nameof(UseIISIntegration), true.ToString());
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
903$"{c.Thumbprint} - {c.Subject} - Valid from {c.NotBefore:u} to {c.NotAfter:u} - IsHttpsDevelopmentCertificate: {IsHttpsDevelopmentCertificate(c).ToString().ToLowerInvariant()} - IsExportable: {Instance.IsExportable(c).ToString().ToLowerInvariant()}";
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (3)
TargetTests.cs (2)
647<EmitCompilerGeneratedFiles>{(emitGeneratedFiles.ToString().ToLower())}</EmitCompilerGeneratedFiles> 663Assert.Equal(emitGeneratedFiles.ToString().ToLower(), emit);
TestUtilities\SimpleTaskItem.cs (1)
53map["EmbedInteropTypes"] = e.ToString();
Microsoft.CodeAnalysis (1)
MetadataReader\MetadataTypeName.cs (1)
373return String.Format("{{{0},{1},{2},{3}}}", NamespaceName, TypeName, UseCLSCompliantNameArityEncoding.ToString(), _forcedArity.ToString());
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchDiagnosticAnalyzer.cs (2)
70.Add(PopulateSwitchStatementHelpers.MissingCases, missingCases.ToString()) 71.Add(PopulateSwitchStatementHelpers.MissingDefaultCase, missingDefaultCase.ToString());
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Analyzers\Core\CodeFixes\ImplementInterface\AbstractImplementInterfaceCodeFixProvider.cs (3)
117return options.Explicitly.ToString() + ";" + 118options.Abstractly.ToString() + ";" + 119options.OnlyRemaining.ToString() + ":" +
Microsoft.CodeAnalysis.CSharp (4)
Compilation\CSharpCompilation.cs (2)
4821writeValue(CompilationOptionNames.Checked, Options.CheckOverflow.ToString()); 4831writeValue(CompilationOptionNames.Unsafe, Options.AllowUnsafe.ToString());
Syntax\SyntaxFactory.cs (2)
738XmlTextAttribute(DocumentationCommentXmlNames.StaticAttributeName, isStatic.ToString().ToLowerInvariant()), 739XmlTextAttribute(DocumentationCommentXmlNames.InstanceAttributeName, isInstance.ToString().ToLowerInvariant()));
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\CrefCompletionProvider.cs (1)
78var serializedOptions = ImmutableArray.Create(KeyValuePair.Create(HideAdvancedMembers, options.MemberDisplayOptions.HideAdvancedMembers.ToString()));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
SourceGeneration\GeneratorDriverFuzzTests.cs (2)
144({logic.TransformAs.ToString().ToLowerInvariant()}, {logic.TransformCs.ToString().ToLowerInvariant()}),
Microsoft.CodeAnalysis.Features (8)
Completion\Providers\SymbolCompletionItem.cs (2)
92properties.Add(KeyValuePair.Create("IsGeneric", isGeneric.ToString())); 96=> item.AddProperty("ShouldProvideParenthesisCompletion", true.ToString());
EditAndContinue\DebuggingSession.cs (1)
243SessionLog.Write($"Edit session restarted (break state: {inBreakState?.ToString() ?? "null"})");
src\Analyzers\Core\Analyzers\PopulateSwitch\AbstractPopulateSwitchDiagnosticAnalyzer.cs (2)
70.Add(PopulateSwitchStatementHelpers.MissingCases, missingCases.ToString()) 71.Add(PopulateSwitchStatementHelpers.MissingDefaultCase, missingDefaultCase.ToString());
src\Analyzers\Core\CodeFixes\ImplementInterface\AbstractImplementInterfaceCodeFixProvider.cs (3)
117return options.Explicitly.ToString() + ";" + 118options.Abstractly.ToString() + ";" + 119options.OnlyRemaining.ToString() + ":" +
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
DeterministicKeyBuilderTests.cs (1)
673""embedInteropTypes"": {embedInteropTypes.ToString().ToLowerInvariant()},
Microsoft.CodeAnalysis.ResxSourceGenerator.UnitTests (9)
ResxGeneratorTests.cs (9)
480await new VerifyCS.Test(identifier: omitGetResourceString.ToString()) 522await new VerifyVB.Test(identifier: omitGetResourceString.ToString()) 554await new VerifyCS.Test(identifier: asConstants.ToString()) 585await new VerifyVB.Test(identifier: asConstants.ToString()) 616await new VerifyCS.Test(identifier: includeDefaultValues.ToString()) 647await new VerifyVB.Test(identifier: includeDefaultValues.ToString()) 712await new VerifyVB.Test(identifier: emitFormatMethods.ToString()) 743await new VerifyCS.Test(identifier: publicResource.ToString()) 774await new VerifyVB.Test(identifier: publicResource.ToString())
Microsoft.CodeAnalysis.VisualBasic (7)
Compilation\VisualBasicCompilation.vb (5)
761WriteValue(builder, CompilationOptionNames.Checked, Options.CheckOverflow.ToString()) 763WriteValue(builder, CompilationOptionNames.OptionInfer, Options.OptionInfer.ToString()) 764WriteValue(builder, CompilationOptionNames.OptionCompareText, Options.OptionCompareText.ToString()) 765WriteValue(builder, CompilationOptionNames.OptionExplicit, Options.OptionExplicit.ToString()) 766WriteValue(builder, CompilationOptionNames.EmbedRuntime, Options.EmbedVbCoreRuntime.ToString())
Syntax\SyntaxFactory.vb (2)
533Dim staticValueString = isStatic.ToString().ToLowerInvariant() 534Dim instanceValueString = isInstance.ToString().ToLowerInvariant()
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\SemanticModelReuse\AbstractSemanticModelReuseLanguageService.cs (1)
44m[kv.Key.ToString()] = kv.Value.GetCount();
Microsoft.DotNet.Build.Manifest (4)
ArtifactModel.cs (1)
47Attributes[nameof(NonShipping)] = value.ToString();
BuildIdentity.cs (2)
181Attributes[nameof(IsStable)] = value.ToString().ToLower(); 203Attributes[nameof(IsReleaseOnlyPackageVersion)] = value.ToString().ToLower();
PackageArtifactModel.cs (1)
53Attributes[nameof(CouldBeStable)] = value.Value.ToString();
Microsoft.DotNet.Build.Tasks.Packaging (3)
HarvestPackage.cs (2)
435item.SetMetadata("HarvestDependencies", harvestDependencies.ToString()); 436item.SetMetadata("IsReferenceAsset", IsReferencePackagePath(targetPath).ToString());
ValidatePackage.cs (1)
661item.SetMetadata("Inbox", IsInbox.ToString());
Microsoft.DotNet.Build.Tasks.Workloads (1)
CreateVisualStudioWorkload.wix.cs (1)
474swixProjectItem.SetMetadata(Metadata.IsPreview, swixComponent.Name.EndsWith(".pre").ToString().ToLowerInvariant());
Microsoft.DotNet.Helix.Sdk.Tests (1)
CreateXHarnessAppleWorkItemsTests.cs (1)
289mockBundle.Setup(x => x.GetMetadata(CreateXHarnessAppleWorkItems.MetadataNames.IncludesTestRunner)).Returns(includesTestRunner.ToString());
Microsoft.Extensions.AI.Evaluation.Quality (3)
IntentResolutionEvaluator.cs (3)
402metric.AddOrUpdateMetadata("conversation_has_intent", rating.ConversationHasIntent.ToString()); 403metric.AddOrUpdateMetadata("correct_intent_detected", rating.CorrectIntentDetected.ToString()); 404metric.AddOrUpdateMetadata("intent_resolved", rating.IntentResolved.ToString());
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\ConvertComImportToGeneratedComInterfaceAnalyzer.cs (2)
138properties.Add(AnalyzerDiagnostics.Metadata.MayRequireAdditionalWork, mayRequireAdditionalWork.ToString()); 139properties.Add(AnalyzerDiagnostics.Metadata.AddStringMarshalling, hasStrings.ToString());
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\ConvertToLibraryImportAnalyzer.cs (2)
86properties.Add(ExactSpelling, dllImportData.ExactSpelling.ToString()); 87properties.Add(MayRequireAdditionalWork, mayRequireAdditionalWork.ToString());
Microsoft.Maui.Controls (4)
ViewExtensions.cs (3)
407 text = cb.IsChecked.ToString(); 409 text = sw.IsOn.ToString(); 411 text = rb.IsChecked.ToString();
VisualElement\VisualElement.cs (1)
2464 return visibility.ToString();
Microsoft.Maui.Graphics (1)
Text\TextAttributesExtensions.cs (1)
124 attributes.SetAttribute(type, value.ToString());
Microsoft.ML.CodeGenerator (9)
Templates\Azure\Console\AzureModelBuilder.cs (3)
57this.Write(this.ToStringHelper.ToStringWithCulture(HasHeader.ToString().ToLowerInvariant())); 61this.Write(this.ToStringHelper.ToStringWithCulture(AllowQuoting.ToString().ToLowerInvariant())); 63this.Write(this.ToStringHelper.ToStringWithCulture(AllowSparse.ToString().ToLowerInvariant()));
Templates\Console\ModelBuilder.cs (6)
63this.Write(this.ToStringHelper.ToStringWithCulture(HasHeader.ToString().ToLowerInvariant())); 67this.Write(this.ToStringHelper.ToStringWithCulture(AllowQuoting.ToString().ToLowerInvariant())); 69this.Write(this.ToStringHelper.ToStringWithCulture(AllowSparse.ToString().ToLowerInvariant())); 75this.Write(this.ToStringHelper.ToStringWithCulture(HasHeader.ToString().ToLowerInvariant())); 79this.Write(this.ToStringHelper.ToStringWithCulture(AllowQuoting.ToString().ToLowerInvariant())); 81this.Write(this.ToStringHelper.ToStringWithCulture(AllowSparse.ToString().ToLowerInvariant()));
Microsoft.ML.Data (1)
Data\Conversion.cs (1)
951public void Convert(in BL src, ref TX dst) => dst = src.ToString().AsMemory();
PresentationFramework (4)
System\Windows\Controls\Primitives\ToggleButton.cs (1)
308return SR.Format(SR.ToStringFormatString_ToggleButton, typeText, contentText, isChecked.HasValue ? isChecked.Value.ToString() : "null");
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
2507return (bytes[0] == 0) ? false.ToString() : true.ToString();
System\Windows\Markup\BamlReader.cs (1)
1399Value = dictKey.Shared.ToString(),
System.Configuration.ConfigurationManager (1)
System\Configuration\ConfigurationElement.cs (1)
1124writer?.WriteAttributeString(LockItemKey, true.ToString().ToLowerInvariant());
System.Data.Common (3)
System\Data\SQLTypes\SQLBoolean.cs (1)
190return IsNull ? SQLResource.NullString : Value.ToString();
System\Data\SQLTypes\SQLString.cs (1)
460return x.IsNull ? Null : new SqlString((x.Value).ToString());
System\Data\xmlsaver.cs (1)
1785root.SetAttribute(Keywords.MSD_CASESENSITIVE, Keywords.MSDNS, table.CaseSensitive.ToString());
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Boolean.cs (1)
92return ToString();
src\libraries\System.Private.CoreLib\src\System\Convert.cs (2)
1886return value.ToString(); 1891return value.ToString();
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
1000public StringBuilder Append(bool value) => Append(value.ToString()); 1309public StringBuilder Insert(int index, bool value) => Insert(index, value.ToString().AsSpan(), 1);
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxItemAccessibleObject.cs (1)
131public override string Value => IsItemChecked.ToString();
System.Windows.Forms.Analyzers.CSharp (1)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ApplicationConfigurationInitializeBuilder.cs (1)
30code.Append($"{indent}{qualifier}SetCompatibleTextRenderingDefault({projectConfig.UseCompatibleTextRendering.ToString().ToLowerInvariant()});\r\n");
System.Windows.Forms.Tests (10)
System\Windows\Forms\AccessibleObjects\CheckedListBoxItemAccessibleObjectTests.cs (2)
217Assert.Equal(isChecked.ToString(), checkedListBox.AccessibilityObject.GetChild(0).Value); 267Assert.Equal(checkValue.ToString(), ((BSTR)checkedListBox.AccessibilityObject.GetChild(0).GetPropertyValue(UIA_PROPERTY_ID.UIA_ValueValuePropertyId)).ToStringAndFree());
System\Windows\Forms\ApplicationTests.cs (1)
638}, childFormCountParam.ToString(), removedFormCountParam.ToString(), addFormCountParam.ToString(), cancelParam.ToString()).Dispose();
System\Windows\Forms\CommonDialogTests.cs (3)
143}, runDialogResultParam.ToString(), expectedDialogResultParam.ToString()).Dispose(); 178}, runDialogResultParam.ToString(), expectedDialogResultParam.ToString()).Dispose(); 215}, runDialogResultParam.ToString(), expectedDialogResultParam.ToString()).Dispose();
System\Windows\Forms\DataGridViewHeaderCellTests.cs (2)
4042}, enableHeadersVisualStylesParam.ToString(), rowIndexParam.ToString(), expectedButtonStateParam.ToString()).Dispose(); 4401}, enableHeadersVisualStylesParam.ToString(), rowIndexParam.ToString()).Dispose();
System\Windows\Forms\TabPageTests.cs (2)
555}, useVisualStyleBackColorParam.ToString()).Dispose(); 642}, useVisualStyleBackColorParam.ToString(), parentAppearanceParam.ToString(), expectedParam.ToArgb().ToString()).Dispose();
Templates.Blazor.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
903$"{c.Thumbprint} - {c.Subject} - Valid from {c.NotBefore:u} to {c.NotAfter:u} - IsHttpsDevelopmentCertificate: {IsHttpsDevelopmentCertificate(c).ToString().ToLowerInvariant()} - IsExportable: {Instance.IsExportable(c).ToString().ToLowerInvariant()}";
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
903$"{c.Thumbprint} - {c.Subject} - Valid from {c.NotBefore:u} to {c.NotAfter:u} - IsHttpsDevelopmentCertificate: {IsHttpsDevelopmentCertificate(c).ToString().ToLowerInvariant()} - IsExportable: {Instance.IsExportable(c).ToString().ToLowerInvariant()}";
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
903$"{c.Thumbprint} - {c.Subject} - Valid from {c.NotBefore:u} to {c.NotAfter:u} - IsHttpsDevelopmentCertificate: {IsHttpsDevelopmentCertificate(c).ToString().ToLowerInvariant()} - IsExportable: {Instance.IsExportable(c).ToString().ToLowerInvariant()}";
Templates.Mvc.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
903$"{c.Thumbprint} - {c.Subject} - Valid from {c.NotBefore:u} to {c.NotAfter:u} - IsHttpsDevelopmentCertificate: {IsHttpsDevelopmentCertificate(c).ToString().ToLowerInvariant()} - IsExportable: {Instance.IsExportable(c).ToString().ToLowerInvariant()}";
Templates.Tests (2)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
903$"{c.Thumbprint} - {c.Subject} - Valid from {c.NotBefore:u} to {c.NotAfter:u} - IsHttpsDevelopmentCertificate: {IsHttpsDevelopmentCertificate(c).ToString().ToLowerInvariant()} - IsExportable: {Instance.IsExportable(c).ToString().ToLowerInvariant()}";
WindowsBase.Tests (2)
System\Windows\FreezableTests.cs (2)
6876DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.GetCurrentMethod()!.Name + value.ToString(), typeof(bool), typeof(DependencyObject)); 6889DependencyProperty property = DependencyProperty.Register(nameof(FreezableTests) + MethodBase.GetCurrentMethod()!.Name + value.ToString(), typeof(bool), typeof(DependencyObject));
xunit.assert (2)
Sdk\Exceptions\FalseException.cs (1)
48 value?.ToString() ?? "null"
Sdk\Exceptions\TrueException.cs (1)
49 value?.ToString() ?? "null"