28 references to SqlInt16
System.Data (28)
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (2)
530result = new SqlInt16( temp ); 1044result = new SqlInt16( GetInt16_Unchecked( sink, getters, ordinal ) );
fx\src\data\System\Data\Common\SQLConvert.cs (1)
642return new SqlInt16(XmlConvert.ToInt16((string)value));
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (1)
566return new SqlInt16(_value._int16);
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
513sqlVal = new SqlInt16((Int16)comVal);
fx\src\data\System\Data\SQLTypes\SQLInt16.cs (23)
94return new SqlInt16(x); 119return new SqlInt16(Int16.Parse(s, (IFormatProvider)null)); 128return x.IsNull ? Null : new SqlInt16((short)-x.m_value); 135return x.IsNull ? Null : new SqlInt16((short)~x.m_value); 153return new SqlInt16((short)iResult); 167return new SqlInt16((short)iResult); 182return new SqlInt16((short)iResult); 196return new SqlInt16((short)(x.m_value / y.m_value)); 213return new SqlInt16((short)(x.m_value % y.m_value)); 224return(x.IsNull || y.IsNull) ? Null : new SqlInt16((short)(x.m_value & y.m_value)); 231return(x.IsNull || y.IsNull) ? Null : new SqlInt16((short)((ushort)x.m_value | (ushort)y.m_value)); 238return(x.IsNull || y.IsNull) ? Null : new SqlInt16((short)(x.m_value ^ y.m_value)); 250return x.IsNull ? Null : new SqlInt16((short)(x.ByteValue)); 258return x.IsNull ? Null : new SqlInt16((short)(x.Value)); 275return new SqlInt16((short)value); 290return new SqlInt16((short)value); 305return new SqlInt16((short)value); 320return new SqlInt16((short)value); 328return x.IsNull ? Null : new SqlInt16(checked((short)x.ToInt32())); 344return x.IsNull ? Null : new SqlInt16(Int16.Parse(x.Value, (IFormatProvider)null)); 616public static readonly SqlInt16 Zero = new SqlInt16(0); 620public static readonly SqlInt16 MinValue = new SqlInt16(Int16.MinValue); 624public static readonly SqlInt16 MaxValue = new SqlInt16(Int16.MaxValue);