60 references to ToBoolean
mscorlib (5)
system\enum.cs (1)
954
return Convert.
ToBoolean
(GetValue(), CultureInfo.CurrentCulture);
system\runtime\remoting\remotingconfigparser.cs (1)
983
configData.UrlObjRefMode = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture);
system\runtime\serialization\formatter.cs (1)
142
WriteBoolean(Convert.
ToBoolean
(data, CultureInfo.InvariantCulture), memberName);
system\runtime\serialization\formatterconverter.cs (1)
49
return System.Convert.
ToBoolean
(value, CultureInfo.InvariantCulture);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
723
WriteBoolean(Convert.
ToBoolean
(value, CultureInfo.InvariantCulture));
PresentationFramework (1)
src\Framework\System\Windows\Markup\WpfXamlLoader.cs (1)
356
bool freeze = Convert.
ToBoolean
(xamlReader.Value, TypeConverterHelper.InvariantEnglishUS);
System (1)
net\System\Net\HttpSysSettings.cs (1)
84
return Convert.
ToBoolean
(key.GetValue(valueName), CultureInfo.InvariantCulture);
System.Data (14)
fx\src\data\System\Data\Common\DBSchemaRow.cs (9)
185
return Convert.
ToBoolean
(value, CultureInfo.InvariantCulture);
201
return Convert.
ToBoolean
(value, CultureInfo.InvariantCulture);
217
return Convert.
ToBoolean
(value, CultureInfo.InvariantCulture);
233
return Convert.
ToBoolean
(value, CultureInfo.InvariantCulture);
266
return Convert.
ToBoolean
(value, CultureInfo.InvariantCulture);
298
return Convert.
ToBoolean
(value, CultureInfo.InvariantCulture);
314
return Convert.
ToBoolean
(value, CultureInfo.InvariantCulture);
330
return Convert.
ToBoolean
(value, CultureInfo.InvariantCulture);
362
return Convert.
ToBoolean
(value, CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\ObjectStorage.cs (2)
120
valueNo1 = Convert.
ToBoolean
(valueNo1, FormatProvider);
121
valueNo2 = Convert.
ToBoolean
(valueNo2, FormatProvider);
fx\src\data\System\Data\DataTable.cs (2)
212
bool isSingleTable = context.Context != null ? Convert.
ToBoolean
(context.Context, CultureInfo.InvariantCulture) : true;
229
bool isSingleTable = context.Context != null ? Convert.
ToBoolean
(context.Context, CultureInfo.InvariantCulture) : true;
fx\src\data\System\Data\Filter\ConstNode.cs (1)
40
this.val = Convert.
ToBoolean
(constant, CultureInfo.InvariantCulture);
System.Data.SqlXml (2)
System\Xml\Xsl\XsltOld\Processor.cs (1)
613
return nav != null ? Convert.ToBoolean(nav.Value, CultureInfo.InvariantCulture) : Convert.
ToBoolean
(objValue, CultureInfo.InvariantCulture);
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
576
return Convert.
ToBoolean
(argument, CultureInfo.InvariantCulture);
System.Management (4)
property.cs (2)
511
((Boolean[])(wmiValue))[i] = Convert.
ToBoolean
(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Boolean)));
589
wmiValue = Convert.
ToBoolean
(val,(IFormatProvider)culInfo.GetFormat(typeof(System.Boolean)));
qualifier.cs (1)
140
((Boolean[])(wmiValue))[i] = Convert.
ToBoolean
(valArray.GetValue(i),(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Boolean)));
WmiGenerator.cs (1)
5279
ret = System.Convert.
ToBoolean
(classobj.Qualifiers["dynamic"].Value,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Boolean)));
System.Runtime.Remoting (31)
channels\http\combinedhttpchannel.cs (1)
69
case "secure": _secure = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture);
channels\http\httpclientchannel.cs (5)
108
_bUseDefaultCredentials = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture);
114
_bAuthenticatedConnectionSharing = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture);
826
case PreAuthenticateKey: _bSecurityPreAuthenticate = Convert.
ToBoolean
(value, CultureInfo.InvariantCulture); break;
843
case AllowAutoRedirectKey: _bAllowAutoRedirect = Convert.
ToBoolean
(value, CultureInfo.InvariantCulture); break;
844
case UnsafeAuthenticatedConnectionSharingKey: _bUnsafeAuthenticatedConnectionSharing = Convert.
ToBoolean
(value, CultureInfo.InvariantCulture); break;
channels\http\httpserverchannel.cs (4)
113
case "listen": _wantsToListen = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
117
case "suppressChannelData": _bSuppressChannelData = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
118
case "useIpAddress": _bUseIpAddress = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
119
case "exclusiveAddressUse": _bExclusiveAddressUse = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
channels\ipc\ipcclientchannel.cs (1)
71
case "secure": _secure = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
channels\ipc\ipcserverchannel.cs (4)
104
case "secure": _secure = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
105
case "impersonate": _impersonate = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); authSet = true; break;
106
case "suppressChannelData": _bSuppressChannelData = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
108
case "exclusiveAddressUse": _bExclusiveAddressUse = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
channels\sinks\binaryformattersinks.cs (4)
61
case "includeVersions": _includeVersioning = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
62
case "strictBinding": _strictBinding = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
333
case "includeVersions": _includeVersioning = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
334
case "strictBinding": _strictBinding = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
channels\sinks\soapformattersinks.cs (4)
62
case "includeVersions": _includeVersioning = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
63
case "strictBinding": _strictBinding = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
385
case "includeVersions": _includeVersioning = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
386
case "strictBinding": _strictBinding = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
channels\tcp\tcpclientchannel.cs (1)
75
case "secure": _secure = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
channels\tcp\tcpserverchannel.cs (5)
108
case "impersonate": _impersonate = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); authSet = true; break;
119
bool bReject = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture);
134
case "suppressChannelData": _bSuppressChannelData = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
135
case "useIpAddress": _bUseIpAddress = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
136
case "exclusiveAddressUse": _bExclusiveAddressUse = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
metadata\sdlchannelsink.cs (2)
50
case "remoteApplicationMetadataEnabled": _bRemoteApplicationMetadataEnabled = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
51
case "metadataEnabled": _bMetadataEnabled = Convert.
ToBoolean
(entry.Value, CultureInfo.InvariantCulture); break;
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
198
return System.Convert.
ToBoolean
(this.ArgumentValues[argumentIndex], CultureInfo.InvariantCulture);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
753
return Convert.
ToBoolean
(argumentValues[0], CultureInfo.InvariantCulture);