private void WriteIdentifierWithShortLength(string s, TdsParserStateObject stateObj) { if (null != s) { WriteShort(checked((short)s.Length), stateObj); WriteString(s, stateObj); } else { WriteShort(0, stateObj); } }