5 writes to m_value
System.Data.Common (5)
System\Data\SQLTypes\SQLBoolean.cs (5)
37
m_value
= value ? x_True : x_False;
47
m_value
= x_Null;
49
m_value
= (value != 0) ? x_True : x_False;
488
m_value
= x_Null;
492
m_value
= XmlConvert.ToBoolean(reader.ReadElementString()) ? x_True : x_False;
28 references to m_value
System.Data.Common (28)
System\Data\SQLTypes\SQLBoolean.cs (28)
59
get { return
m_value
== x_Null; }
70
return
m_value
switch
84
get { return
m_value
== x_True; }
92
get { return
m_value
== x_False; }
122
switch (x.
m_value
)
131
Debug.Assert(x.
m_value
== x_Null);
153
if (x.
m_value
== x_False || y.
m_value
== x_False)
155
else if (x.
m_value
== x_True && y.
m_value
== x_True)
166
if (x.
m_value
== x_True || y.
m_value
== x_True)
168
else if (x.
m_value
== x_False && y.
m_value
== x_False)
182
return (
m_value
== x_True) ? (byte)1 : (byte)0;
225
return (x.IsNull || y.IsNull) ? Null : new SqlBoolean(x.
m_value
!= y.
m_value
);
294
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
== y.
m_value
);
304
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
< y.
m_value
);
309
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
> y.
m_value
);
314
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
<= y.
m_value
);
319
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
>= y.
m_value
);
504
writer.WriteString(
m_value
== x_True ? "true" : "false");