fx\src\data\System\Data\SqlClient\TdsParser.cs (12)
8332s = ((SqlString)value).Value;
9434string stringValue = (isSqlType) ? ((SqlString)value).Value : (string)value;
9447actualLengthInBytes = ((isSqlType) ? ((SqlString)value).Value.Length : ((string)value).Length) * 2;
9551stringValue = ((SqlString)value).Value;
9563ccb = ((isSqlType) ? ((SqlString)value).Value.Length : ((string)value).Length) * 2;
9570ccb = ((isSqlType) ? ((SqlString)value).Value.Length : ((string)value).Length) * 2;
9904if (!((SqlString)value).IsNull && ((((SqlString)value).Value).Length > 0)) {
9905if ((((SqlString)value).Value[0] & 0xff) != 0xff)
10033return WriteEncodingChar(((SqlString)value).Value, actualLength, offset, _defaultEncoding, stateObj, canAccumulate:false);
10061return WriteString(((SqlString)value).Value, actualLength, offset, stateObj, canAccumulate:false);
10987return SerializeEncodingChar(((SqlString)value).Value, actualLength, offset, _defaultEncoding);
11005return SerializeString(((SqlString)value).Value, actualLength, offset);