19 writes to _type
System.Data (19)
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (19)
80_type = StorageType.Boolean; 94_type = StorageType.Byte; 108_type = StorageType.DateTime; 129_type = StorageType.DateTimeOffset; 143_type = StorageType.Double; 157_type = StorageType.Guid; 171_type = StorageType.Int16; 185_type = StorageType.Int32; 199_type = StorageType.Int64; 218_type = StorageType.Single; 244_type = StorageType.String; 265_type = StorageType.SqlDecimal; 279_type = StorageType.TimeSpan; 302_type = StorageType.ByteArray; 325_type = StorageType.CharArray; 422_type = StorageType.ByteArray; 455_type = StorageType.CharArray; 464_type = StorageType.CharArray; 500_type = StorageType.ByteArray;
55 references to _type
System.Data (55)
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (55)
74Debug.Assert(StorageType.Boolean == _type, "Wrong storage type: " + _type); 88Debug.Assert(StorageType.Byte == _type, "Wrong storage type: " + _type); 102Debug.Assert(StorageType.DateTime == _type, "Wrong storage type: " + _type); 123Debug.Assert(StorageType.DateTimeOffset == _type, "Wrong storage type: " + _type); 137Debug.Assert(StorageType.Double == _type, "Wrong storage type: " + _type); 151Debug.Assert(StorageType.Guid == _type, "Wrong storage type: " + _type); 165Debug.Assert(StorageType.Int16 == _type, "Wrong storage type: " + _type); 179Debug.Assert(StorageType.Int32 == _type, "Wrong storage type: " + _type); 193Debug.Assert(StorageType.Int64 == _type, "Wrong storage type: " + _type); 212Debug.Assert(StorageType.Single == _type, "Wrong storage type: " + _type); 227if (StorageType.String == _type) { 229} else if (StorageType.CharArray == _type) { 234Debug.Assert(StorageType.ByteArray == _type, "Wrong storage type: " + _type); 257Debug.Assert(StorageType.SqlDecimal == _type, "Wrong storage type: " + _type); 273Debug.Assert(StorageType.TimeSpan == _type, "Wrong storage type: " + _type); 289if (StorageType.String == _type) { 293Debug.Assert(StorageType.ByteArray == _type, "Wrong storage type: " + _type); 306Debug.Assert(StorageType.ByteArray == _type, "Wrong storage type: " + _type); 317Debug.Assert(StorageType.CharArray == _type || StorageType.String == _type, "Wrong storage type: " + _type); 329Debug.Assert(StorageType.CharArray == _type || StorageType.String == _type, "Wrong storage type: " + _type); 331((StorageType.CharArray == _type && value <= ((char[])_object).Length) || (StorageType.String == _type && value <= ((string)_object).Length)), 350switch (_type) { 383if (StorageType.String == _type) { 387Debug.Assert(StorageType.ByteArray == _type, "Wrong storage type: " + _type); 401Debug.Assert(StorageType.CharArray == _type || StorageType.String == _type, "Wrong storage type: " + _type); 405if (StorageType.CharArray == _type) { 417if (IsNull || StorageType.ByteArray != _type) { 450if (IsNull || (StorageType.CharArray != _type && StorageType.String != _type)) { 462if (StorageType.String == _type) { // convert string to char[] 489Debug.Assert(StorageType.String == _type, "ConvertXmlStringToByteArray: Invalid storage type for conversion: " + _type.ToString());