33 references to TrueString
Aspire.Dashboard (4)
Authentication\OtlpCompositeAuthenticationHandler.cs (1)
36var id = new ClaimsIdentity([new Claim(OtlpAuthorization.OtlpClaimName, bool.TrueString)]);
Authentication\UnsecuredAuthenticationHandler.cs (1)
20[new Claim(ClaimTypes.NameIdentifier, "Local"), new Claim(FrontendAuthorizationDefaults.UnsecuredClaimName, bool.TrueString)],
DashboardWebApplication.cs (2)
784claimsIdentity.AddClaim(new Claim(FrontendAuthorizationDefaults.BrowserTokenClaimName, bool.TrueString)); 800.RequireClaim(OtlpAuthorization.OtlpClaimName, [bool.TrueString])
Aspire.Dashboard.Tests (1)
Integration\StartupTests.cs (1)
486data[DashboardConfigNames.DashboardUnsecuredAllowAnonymousName.ConfigKey] = bool.TrueString;
Microsoft.AspNetCore.Components.Web (1)
Forms\InputCheckbox.cs (1)
43builder.AddAttribute(6, "value", bool.TrueString);
Microsoft.CodeAnalysis.LanguageServer (2)
HostWorkspace\WorkspaceProject.cs (2)
167case "RunAnalyzers": _project.RunAnalyzers = bool.Parse(valueOrNull ?? bool.TrueString); break; 168case "RunAnalyzersDuringLiveAnalysis": _project.RunAnalyzersDuringLiveAnalysis = bool.Parse(valueOrNull ?? bool.TrueString); break;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
Build\ProjectBuildManager.cs (3)
31{ PropertyNames.DesignTimeBuild, bool.TrueString }, 46{ PropertyNames.ProvideCommandLineArgs, bool.TrueString }, 49{ PropertyNames.SkipCompilerExecution, bool.TrueString },
MSBuild\ProjectFile\Conversions.cs (1)
16&& (string.Equals(bool.TrueString, value, StringComparison.OrdinalIgnoreCase) ||
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
481using var workspace = CreateMSBuildWorkspace(("ShouldUnsetParentConfigurationAndPlatform", bool.TrueString));
Microsoft.Gen.ComplianceReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
GeneratorTests.cs (1)
191_options.TryAdd("build_property.GenerateComplianceReport", bool.TrueString);
Microsoft.Gen.ContextualOptions (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.Logging (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.MetadataExtractor (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
GeneratorTests.cs (1)
241_options.TryAdd("build_property.GenerateMetadataReport", bool.TrueString);
Microsoft.Gen.Metrics (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.MetricsReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
145return string.Equals(generateFiles, bool.TrueString, StringComparison.OrdinalIgnoreCase);
Microsoft.Gen.MetricsReports.Unit.Tests (1)
GeneratorTests.cs (1)
181_options.TryAdd("build_property.GenerateMetricsReport", bool.TrueString);
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
2446 if (strValue.Equals(bool.TrueString, StringComparison.OrdinalIgnoreCase))
Microsoft.Maui.Controls.DesignTools (1)
VisibilityDesignTypeConverter.cs (1)
9 private static readonly string[] validValues = ["Collapse", "Hidden", bool.FalseString, bool.TrueString, "Visible"];
Microsoft.VisualBasic.Core (3)
Microsoft\VisualBasic\CompilerServices\BooleanType.vb (1)
29ElseIf System.String.Compare(Value, Boolean.TrueString, True, loc) = 0 Then
Microsoft\VisualBasic\CompilerServices\Conversions.vb (2)
36ElseIf String.Compare(Value, Boolean.TrueString, True, loc) = 0 Then 2150Return Boolean.TrueString
PresentationBuildTasks (1)
MS\Internal\Tasks\CompilerState.cs (1)
412get { return _cacheInfoList[(int)CompilerStateType.Pass2Required] == bool.TrueString; }
PresentationFramework (2)
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
148part.NameValuePairs.Add(TextSelectionProcessor.IncludeOverlaps, Boolean.TrueString);
System\Windows\Annotations\AnnotationHelper.cs (1)
697locator.Parts[locator.Parts.Count - 1].NameValuePairs.Add(TextSelectionProcessor.IncludeOverlaps, Boolean.TrueString);
System.Net.Security (1)
src\libraries\Common\src\System\AppContextSwitchHelper.cs (1)
22if (str == "1" || string.Equals(str, bool.TrueString, StringComparison.OrdinalIgnoreCase))
System.Text.Json (2)
System\Text\Json\Document\JsonElement.cs (2)
1626/// For <see cref="JsonValueKind.True"/>, <see cref="bool.TrueString"/> is returned. 1655return bool.TrueString;