6 references to ToBoolean
Microsoft.AspNetCore.App.CodeFixes (1)
RouteParameterUnusedParameterFixer.cs (1)
78
var routeParameterIsOptional = Convert.
ToBoolean
(diagnostic.Properties["RouteParameterIsOptional"], CultureInfo.InvariantCulture);
Microsoft.Build.Tasks.Core (1)
ManifestUtil\ConvertUtil.cs (1)
25
return Convert.
ToBoolean
(value, CultureInfo.InvariantCulture);
PresentationFramework (1)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
241
bool expanded = Convert.
ToBoolean
(node.Value, CultureInfo.InvariantCulture);
System.Private.Xml (3)
System\Xml\Xsl\XsltOld\Processor.cs (1)
675
return nav != null ? Convert.
ToBoolean
(nav.Value, CultureInfo.InvariantCulture) : Convert.ToBoolean(objValue, CultureInfo.InvariantCulture);
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (2)
683
return Convert.
ToBoolean
(IteratorToString(it), CultureInfo.InvariantCulture);
688
return Convert.
ToBoolean
(nav.ToString(), CultureInfo.InvariantCulture);