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