internal int ReadPlpUnicodeChars(ref char[] buff, int offst, int len, TdsParserStateObject stateObj) { int charsRead; Debug.Assert(stateObj._syncOverAsync, "Should not attempt pends in a synchronous call"); bool result = TryReadPlpUnicodeChars(ref buff, offst, len, stateObj, out charsRead); if (!result) { throw SQL.SynchronousCallMayNotPend(); } return charsRead; }