3 writes to m_value
System.Data.Common (3)
System\Data\SQLTypes\SQLInt32.cs (3)
33
m_value
= 0;
38
m_value
= value;
517
m_value
= XmlConvert.ToInt32(reader.ReadElementString());
43 references to m_value
System.Data.Common (43)
System\Data\SQLTypes\SQLInt32.cs (43)
56
return
m_value
;
74
return IsNull ? SQLResource.NullString :
m_value
.ToString((IFormatProvider)null!);
89
return x.IsNull ? Null : new SqlInt32(-x.
m_value
);
94
return x.IsNull ? Null : new SqlInt32(~x.
m_value
);
105
int iResult = x.
m_value
+ y.
m_value
;
106
if (SameSignInt(x.
m_value
, y.
m_value
) && !SameSignInt(x.
m_value
, iResult))
117
int iResult = x.
m_value
- y.
m_value
;
118
if (!SameSignInt(x.
m_value
, y.
m_value
) && SameSignInt(y.
m_value
, iResult))
129
long lResult = x.
m_value
* (long)y.
m_value
;
142
if (y.
m_value
!= 0)
144
if ((x.
m_value
== s_iIntMin) && (y.
m_value
== -1))
147
return new SqlInt32(x.
m_value
/ y.
m_value
);
158
if (y.
m_value
!= 0)
160
if ((x.
m_value
== s_iIntMin) && (y.
m_value
== -1))
163
return new SqlInt32(x.
m_value
% y.
m_value
);
172
return (x.IsNull || y.IsNull) ? Null : new SqlInt32(x.
m_value
& y.
m_value
);
177
return (x.IsNull || y.IsNull) ? Null : new SqlInt32(x.
m_value
| y.
m_value
);
182
return (x.IsNull || y.IsNull) ? Null : new SqlInt32(x.
m_value
^ y.
m_value
);
287
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
== y.
m_value
);
297
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
< y.
m_value
);
302
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
> y.
m_value
);
307
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
<= y.
m_value
);
312
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
>= y.
m_value
);
530
writer.WriteString(XmlConvert.ToString(
m_value
));