3 writes to m_value
System.Data.Common (3)
System\Data\SQLTypes\SQLInt16.cs (3)
32
m_value
= 0;
37
m_value
= value;
502
m_value
= XmlConvert.ToInt16(reader.ReadElementString());
37 references to m_value
System.Data.Common (37)
System\Data\SQLTypes\SQLInt16.cs (37)
53
return
m_value
;
73
return IsNull ? SQLResource.NullString :
m_value
.ToString((IFormatProvider)null!);
87
return x.IsNull ? Null : new SqlInt16((short)-x.
m_value
);
92
return x.IsNull ? Null : new SqlInt16((short)~x.
m_value
);
103
int iResult = x.
m_value
+ y.
m_value
;
115
int iResult = x.
m_value
- y.
m_value
;
127
int iResult = x.
m_value
* y.
m_value
;
140
if (y.
m_value
!= 0)
142
if ((x.
m_value
== short.MinValue) && (y.
m_value
== -1))
145
return new SqlInt16((short)(x.
m_value
/ y.
m_value
));
156
if (y.
m_value
!= 0)
158
if ((x.
m_value
== short.MinValue) && (y.
m_value
== -1))
161
return new SqlInt16((short)(x.
m_value
% y.
m_value
));
170
return (x.IsNull || y.IsNull) ? Null : new SqlInt16((short)(x.
m_value
& y.
m_value
));
175
return (x.IsNull || y.IsNull) ? Null : new SqlInt16(unchecked((short)((ushort)x.
m_value
| (ushort)y.
m_value
)));
180
return (x.IsNull || y.IsNull) ? Null : new SqlInt16((short)(x.
m_value
^ y.
m_value
));
272
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
== y.
m_value
);
282
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
< y.
m_value
);
287
return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(x.
m_value
> y.
m_value
);
292
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
);
515
writer.WriteString(XmlConvert.ToString(
m_value
));