76 references to FalseString
aspire (1)
NuGet\NuGetSignatureVerificationEnabler.cs (1)
40? bool.FalseString
Aspire.Dashboard.Tests (1)
Integration\StartupTests.cs (1)
1018var value = enable ? bool.TrueString : bool.FalseString;
Aspire.Hosting (3)
ApplicationModel\EndpointReference.cs (2)
366EndpointProperty.TlsEnabled => Endpoint.TlsEnabled ? bool.TrueString : bool.FalseString, 437/// Whether TLS is enabled on the endpoint. Returns <see cref="bool.TrueString"/> or <see cref="bool.FalseString"/>.
ApplicationModel\IComputeEnvironmentResource.cs (1)
63EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(endpoint.TlsEnabled ? bool.TrueString : bool.FalseString)}"),
Aspire.Hosting.Azure.AppContainers (2)
AzureContainerAppEnvironmentResource.cs (1)
413EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(tlsEnabled ? bool.TrueString : bool.FalseString)}"),
BaseContainerAppContext.cs (1)
211EndpointProperty.TlsEnabled => tlsEnabled ? bool.TrueString : bool.FalseString,
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceEnvironmentResource.cs (1)
540EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(tlsEnabled ? bool.TrueString : bool.FalseString)}"),
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxEndpointPropertyValueProvider.cs (1)
111EndpointProperty.TlsEnabled => string.Equals(uri.Scheme, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) ? bool.TrueString : bool.FalseString,
Aspire.Hosting.Browsers (1)
BrowserLogsEventLogger.cs (1)
309BrowserLogsCdpProtocolBooleanValue booleanValue => booleanValue.Value ? bool.TrueString : bool.FalseString,
Aspire.Hosting.Browsers.Tests (1)
src\Aspire.Hosting.Browsers\BrowserLogsEventLogger.cs (1)
309BrowserLogsCdpProtocolBooleanValue booleanValue => booleanValue.Value ? bool.TrueString : bool.FalseString,
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
1231new TestConditionProvider(bool.FalseString),
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
1145var secondCondition = new ParameterResource("enable-tls", _ => bool.FalseString); 1281new TestValueProvider(bool.FalseString),
Aspire.Hosting.Radius (2)
Publishing\RadiusInfrastructureBuilder.cs (1)
3397parts.Add(EnvPart.FromLiteral(endpointReference.EndpointAnnotation.TlsEnabled ? bool.TrueString : bool.FalseString));
RadiusEnvironmentResource.cs (1)
217EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(endpoint.TlsEnabled ? bool.TrueString : bool.FalseString)}"),
Aspire.Hosting.RemoteHost.Tests (2)
AtsMarshallerTests.cs (2)
1363var condition = new TestConditionValueProvider(bool.FalseString); 1477var condition = new TestConditionValueProvider(bool.FalseString);
Aspire.Hosting.Tests (4)
ConditionalReferenceExpressionTests.cs (4)
26var condition = new TestValueProvider(bool.FalseString); 52var condition = new TestValueProvider(bool.FalseString); 133Assert.Equal(bool.FalseString, value); 176Assert.Equal(bool.FalseString, await tlsExpr.GetValueAsync());
dotnet-aot (2)
parent\dotnet\NuGetSignatureVerificationEnabler.cs (2)
51return string.Equals(bool.FalseString, value, StringComparison.OrdinalIgnoreCase) 52? bool.FalseString : bool.TrueString;
dotnet-format (1)
Workspaces\MSBuildWorkspaceLoader.cs (1)
29{ "AlwaysCompileMarkupFilesInSeparateDomain", bool.FalseString },
Microsoft.Build (2)
Construction\ProjectUsingTaskParameterElement.cs (2)
109return String.IsNullOrEmpty(outputAttribute) ? bool.FalseString : outputAttribute; 126return String.IsNullOrEmpty(requiredAttribute) ? bool.FalseString : requiredAttribute;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (1)
103new KeyValuePair<string, string>("RestoreUseSkipNonexistentTargets", bool.FalseString),
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
Build\ProjectBuildManager.cs (3)
42{ PropertyNames.BuildProjectReferences, bool.FalseString }, 43{ PropertyNames.BuildingProject, bool.FalseString }, 57{ PropertyNames.ShouldUnsetParentConfigurationAndPlatform, bool.FalseString }
MSBuild\ProjectFile\Extensions.cs (1)
92!string.Equals(referenceOutputAssemblyText, bool.FalseString, StringComparison.OrdinalIgnoreCase);
Microsoft.DotNet.ProjectTools (1)
src\sdk\src\Cli\Microsoft.DotNet.FileBasedPrograms\VirtualProjectBuilder.cs (1)
102new KeyValuePair<string, string>("RestoreUseSkipNonexistentTargets", bool.FalseString),
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
GeneratorTests.cs (1)
126["build_property.GenerateMetadataReport"] = bool.FalseString,
Microsoft.Gen.MetricsReports.Unit.Tests (1)
GeneratorTests.cs (1)
87["build_property.GenerateMetricsReport"] = bool.FalseString,
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
2450 if (strValue.Equals(bool.FalseString, StringComparison.OrdinalIgnoreCase))
Microsoft.Maui.Controls.DesignTools (1)
VisibilityDesignTypeConverter.cs (1)
9 private static readonly string[] validValues = ["Collapse", "Hidden", bool.FalseString, bool.TrueString, "Visible"];
MSBuild (3)
XMake.cs (3)
2923terminalLoggerDefault = bool.FalseString; 2924KnownTelemetry.LoggingConfigurationTelemetry.TerminalLoggerDefault = bool.FalseString; 3001terminalLoggerArg = bool.FalseString;
NuGet.Build.Tasks (1)
BuildTasksUtility.cs (1)
777if (string.Equals(bool.FalseString, trimmed, StringComparison.OrdinalIgnoreCase) || string.Equals("0", trimmed, StringComparison.OrdinalIgnoreCase))
NuGet.Build.Tasks.Console (2)
ExtensionMethods.cs (1)
77: string.Equals(value, bool.FalseString, StringComparison.OrdinalIgnoreCase);
MSBuildStaticGraphRestore.cs (1)
824if (!string.Equals(envVar, bool.FalseString, StringComparison.OrdinalIgnoreCase))
NuGet.Commands (3)
RestoreCommand\Utility\MSBuildRestoreUtility.cs (1)
1225return string.Equals(value, bool.FalseString, StringComparison.OrdinalIgnoreCase);
RestoreCommand\Utility\PackageSpecFactory.cs (1)
962return string.Equals(value!.Trim(), bool.FalseString, StringComparison.OrdinalIgnoreCase);
src\nuget-client\build\Shared\EqualityUtility.cs (1)
318return !string.IsNullOrWhiteSpace(value) && bool.FalseString.Equals(value.Trim(), StringComparison.OrdinalIgnoreCase);
NuGet.Configuration (1)
src\nuget-client\build\Shared\EqualityUtility.cs (1)
318return !string.IsNullOrWhiteSpace(value) && bool.FalseString.Equals(value.Trim(), StringComparison.OrdinalIgnoreCase);
NuGet.LibraryModel (1)
src\nuget-client\build\Shared\EqualityUtility.cs (1)
318return !string.IsNullOrWhiteSpace(value) && bool.FalseString.Equals(value.Trim(), StringComparison.OrdinalIgnoreCase);
NuGet.PackageManagement (1)
src\nuget-client\build\Shared\EqualityUtility.cs (1)
318return !string.IsNullOrWhiteSpace(value) && bool.FalseString.Equals(value.Trim(), StringComparison.OrdinalIgnoreCase);
NuGet.Packaging (4)
NuspecReader.cs (1)
608else if (bool.FalseString.Equals(attributeValue, StringComparison.OrdinalIgnoreCase))
PackageArchiveReader.cs (1)
523else if (string.Equals(bool.FalseString, signVerifyEnvVariable, StringComparison.OrdinalIgnoreCase))
PackageCreation\Authoring\PackageBuilder.cs (1)
168else if (string.Equals(value, bool.FalseString, StringComparison.OrdinalIgnoreCase))
src\nuget-client\build\Shared\EqualityUtility.cs (1)
318return !string.IsNullOrWhiteSpace(value) && bool.FalseString.Equals(value.Trim(), StringComparison.OrdinalIgnoreCase);
NuGet.ProjectModel (4)
LockFile\LockFileFormat.cs (1)
528else if (bool.FalseString.Equals(property.Value, StringComparison.OrdinalIgnoreCase))
RestoreAuditProperties.cs (1)
47if (string.Equals(EnableAudit, bool.FalseString, StringComparison.OrdinalIgnoreCase)
src\nuget-client\build\Shared\EqualityUtility.cs (1)
318return !string.IsNullOrWhiteSpace(value) && bool.FalseString.Equals(value.Trim(), StringComparison.OrdinalIgnoreCase);
src\nuget-client\build\Shared\Utf8JsonReaderExtensions.cs (1)
20return bool.FalseString;
NuGet.Protocol (3)
Converters\NuGetFrameworkStjConverter.cs (1)
26JsonTokenType.False => bool.FalseString,
Converters\Utf8JsonReaderExtensions.cs (1)
24JsonTokenType.False => bool.FalseString,
src\nuget-client\build\Shared\EqualityUtility.cs (1)
318return !string.IsNullOrWhiteSpace(value) && bool.FalseString.Equals(value.Trim(), StringComparison.OrdinalIgnoreCase);
NuGet.Versioning (1)
src\nuget-client\build\Shared\EqualityUtility.cs (1)
318return !string.IsNullOrWhiteSpace(value) && bool.FalseString.Equals(value.Trim(), StringComparison.OrdinalIgnoreCase);
System.CommandLine (1)
Argument.cs (1)
103new(bool.FalseString)
System.Data.Common (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Diagnostics.DiagnosticSource (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.DirectoryServices.Protocols (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Net.Http (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Net.HttpListener (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Net.NameResolution (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Net.Ping (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Net.Quic (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Net.Security (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Net.Sockets (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Private.CoreLib (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Private.Xml (1)
src\runtime\src\libraries\Common\src\System\LocalAppContextSwitches.Common.cs (1)
68if (str == "0" || string.Equals(str, bool.FalseString, StringComparison.OrdinalIgnoreCase))
System.Text.Json (2)
System\Text\Json\Document\JsonElement.cs (2)
1631/// For <see cref="JsonValueKind.False"/>, <see cref="bool.FalseString"/> is returned. 1658return bool.FalseString;