17 implementations of ToBoolean
mscorlib (17)
system\boolean.cs (1)
236
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\byte.cs (1)
189
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\char.cs (1)
434
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\datetime.cs (1)
1579
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\dbnull.cs (1)
48
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\decimal.cs (1)
1201
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\double.cs (1)
303
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\enum.cs (1)
952
bool IConvertible.
ToBoolean
(IFormatProvider provider)
system\int16.cs (1)
202
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\int32.cs (1)
175
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\int64.cs (1)
154
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\sbyte.cs (1)
210
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\single.cs (1)
273
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\string.cs (1)
3365
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\uint16.cs (1)
177
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\uint32.cs (1)
159
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
system\uint64.cs (1)
154
bool IConvertible.
ToBoolean
(IFormatProvider provider) {
14 references to ToBoolean
mscorlib (9)
system\convert.cs (7)
221
return v.
ToBoolean
(provider);
278
return value.
ToBoolean
(provider);
349
return ic.
ToBoolean
(provider);
386
return value == null? false: ((IConvertible)value).
ToBoolean
(null);
390
return value == null? false: ((IConvertible)value).
ToBoolean
(provider);
406
return ((IConvertible)value).
ToBoolean
(null);
470
return ((IConvertible)value).
ToBoolean
(null);
system\variant.cs (2)
468
v = new Variant(ic.
ToBoolean
(provider));
633
v = new Variant(iv.
ToBoolean
(provider));
System.AddIn.Contract (1)
System\Addin\Contract\RemoteArgument.cs (1)
154
boolToUse = convertibleValue.
ToBoolean
(null);
System.Data (4)
fx\src\data\System\Data\Common\BooleanStorage.cs (2)
110
value = ((IConvertible)value).
ToBoolean
(FormatProvider);
139
values[record] = ((IConvertible)value).
ToBoolean
(FormatProvider);
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (2)
264
return ((IConvertible)value).
ToBoolean
(CultureInfo.InvariantCulture);
294
return ((IConvertible)value).
ToBoolean
(CultureInfo.InvariantCulture);