internal bool TryProcessCollation(TdsParserStateObject stateObj, out SqlCollation collation) { SqlCollation newCollation = new SqlCollation(); if (!stateObj.TryReadUInt32(out newCollation.info)) { collation = null; return false; } if (!stateObj.TryReadByte(out newCollation.sortId)) { collation = null; return false; } collation = newCollation; return true; }