27 references to Parser
System.Data (27)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (4)
1036
TdsParser parser = connection.
Parser
;
4814
&& null != tdsConnection.
Parser
4815
&& !tdsConnection.
Parser
.IsColumnEncryptionSupported) {
4820
var parser = tdsConnection.
Parser
;
fx\src\data\System\Data\SqlClient\SqlConnection.cs (8)
1162
var parser = innerConnection.
Parser
;
1287
TdsParserStateObject stateObj = tdsConn.
Parser
._physicalStateObj;
1289
if (tdsConn.
Parser
._sessionPool != null) {
1290
if (tdsConn.
Parser
._sessionPool.ActiveSessionsCount > 0) {
1585
Debug.Assert(tdsInnerConnection.
Parser
!= null, "Where's the parser?");
1594
tdsInnerConnection.
Parser
.Statistics = _statistics;
1597
tdsInnerConnection.
Parser
.Statistics = null;
1680
return tdsConnection.
Parser
;
fx\src\data\System\Data\SqlClient\SqlInternalConnection.cs (2)
481
TdsParser parser = tdsConnection.
Parser
;
682
return innerConnection.
Parser
;
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (13)
578
return (!
Parser
.MARSOn &&
Parser
._physicalStateObj.BcpLock);
924
TdsParser parser =
Parser
;
947
if (!
Parser
.MARSOn &&
Parser
._physicalStateObj.BcpLock) {
1236
Debug.Assert(SniContext.Snix_Login ==
Parser
._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Snix_Login; actual Value: {0}",
Parser
._physicalStateObj.SniContext));
1542
Debug.Assert(SniContext.Undefined==
Parser
._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Undefined; actual Value: {0}",
Parser
._physicalStateObj.SniContext));
1781
Debug.Assert(SniContext.Undefined==
Parser
._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Undefined; actual Value: {0}",
Parser
._physicalStateObj.SniContext));
1830
Debug.Assert(SniContext.Undefined ==
Parser
._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Undefined; actual Value: {0}",
Parser
._physicalStateObj.SniContext));