4 writes to _longlen
System.Data (4)
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (4)
1696
_longlen
= (ulong)value;
1701
_longlen
= 0;
1713
_longlen
= 0;
3695
_stateObj.
_longlen
= _snapshotLongLen;
26 references to _longlen
System.Data (26)
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (1)
81
Debug.Assert(stateObj.
_longlen
== 0 && stateObj._longlenleft == 0);
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
3635
if (_stateObj.
_longlen
!= 0) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (17)
3799
if (stateObj.
_longlen
!= 0) {
4744
if (stateObj.
_longlen
!= 0) {
5406
Debug.Assert((stateObj.
_longlen
== 0) && (stateObj._longlenleft == 0), "ReadSqlValue did not read plp field completely, longlen =" + stateObj.
_longlen
.ToString((IFormatProvider)null) + ",longlenleft=" + stateObj._longlenleft.ToString((IFormatProvider)null));
11122
Debug.Assert((stateObj.
_longlen
!= 0) && (stateObj.
_longlen
!= TdsEnums.SQL_PLP_NULL),
11163
if (stateObj.
_longlen
== 0) {
11169
Debug.Assert(((ulong)stateObj.
_longlen
!= TdsEnums.SQL_PLP_NULL),
11176
if (buff == null && stateObj.
_longlen
!= TdsEnums.SQL_PLP_UNKNOWNLEN) {
11177
buff = new char[(int)Math.Min((int)stateObj.
_longlen
, len)];
11255
if (stateObj.
_longlen
== 0) {
11260
Debug.Assert(((ulong)stateObj.
_longlen
!= TdsEnums.SQL_PLP_NULL),
11360
if ((stateObj.
_longlen
!= 0) && (stateObj._longlenleft == 0))
11367
if ((stateObj.
_longlen
!= 0) && (stateObj._longlenleft == 0)) {
11380
if (stateObj.
_longlen
== TdsEnums.SQL_PLP_UNKNOWNLEN)
11382
else if (stateObj.
_longlen
== TdsEnums.SQL_PLP_NULL)
11385
return stateObj.
_longlen
;
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (7)
1689
if (
_longlen
== 0) {
1700
if (
_longlen
== TdsEnums.SQL_PLP_NULL) {
1755
if (
_longlen
== 0) {
1766
Debug.Assert((
_longlen
!= TdsEnums.SQL_PLP_NULL),
1773
if (buff == null &&
_longlen
!= TdsEnums.SQL_PLP_UNKNOWNLEN) {
1774
buff = new byte[(int)Math.Min((int)
_longlen
, len)];
3653
_snapshotLongLen = _stateObj.
_longlen
;