5 writes to oldLength
System.Data (5)
fx\src\data\System\Data\SqlClient\TdsParser.cs (5)
2480env.oldLength = byteLength; 2518env.oldLength = byteLength; 2557env.oldLength = byteLength; 2638env.oldLength = byteLength; 2668env.oldLength = oldLength;
13 references to oldLength
System.Data (13)
fx\src\data\System\Data\SqlClient\TdsParser.cs (13)
2481Debug.Assert(env.oldLength == 5 || env.oldLength == 0, "Improper length in old collation!"); 2482if (env.oldLength == 5) { 2488env.length = 3 + env.newLength + env.oldLength; 2519Debug.Assert(env.oldLength == 0 || env.oldLength == 8, "Improper length for old transaction id!"); 2521if (env.oldLength > 0) { 2532env.length = 3 + env.newLength + env.oldLength; 2558Debug.Assert(0 == env.oldLength, "old length should be zero"); 2639env.oldBinValue = new byte[env.oldLength]; 2640if (!stateObj.TryReadByteArray(env.oldBinValue, 0, env.oldLength)) { 2645env.length = 3 + env.newLength + env.oldLength; 2672env.length = 3 + env.newLength * 2 + env.oldLength * 2;