44 references to Broken
System.Data (44)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (5)
216
if ((parser == null) || (parser.State == TdsParserState.Closed) || (parser.State == TdsParserState.
Broken
)) {
1367
_stateObj.Parser.State = TdsParserState.
Broken
; // We failed to respond to attention, we have to quit!
3781
if ((tdsParser == null) || (tdsParser.State == TdsParserState.
Broken
) || (tdsParser.State == TdsParserState.Closed)) {
4936
if ((parser == null) || (parser.State == TdsParserState.
Broken
) || (parser.State == TdsParserState.Closed)) {
5173
if ((parser == null) || (parser.State == TdsParserState.Closed) || (parser.State == TdsParserState.
Broken
)) {
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (5)
1024
parser.State = TdsParserState.
Broken
; // We failed while draining data, so TDS pointer can be between tokens - cannot recover
1120
if (_parser.State == TdsParserState.
Broken
|| _parser.State == TdsParserState.Closed) {
2807
if (_parser.State == TdsParserState.
Broken
|| _parser.State == TdsParserState.Closed) {
2882
if (_parser.State == TdsParserState.
Broken
|| _parser.State == TdsParserState.Closed) {
4591
_parser.State = TdsParserState.
Broken
; // We failed to respond to attention, we have to quit!
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
699
if ((parser == null) || (parser.State == TdsParserState.
Broken
) || (parser.State == TdsParserState.Closed)) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (12)
675
else if ((_state == TdsParserState.Closed) || (_state == TdsParserState.
Broken
)) {
692
_state = TdsParserState.
Broken
;
1263
_state = TdsParserState.
Broken
;
1826
if (TdsParserState.
Broken
== State || TdsParserState.Closed == State ) {
1841
if (TdsParserState.
Broken
== State || TdsParserState.Closed == State)
1872
_state = TdsParserState.
Broken
;
6845
if (_state == TdsParserState.Closed || _state == TdsParserState.
Broken
){
6873
_state = TdsParserState.
Broken
;
7703
if (TdsParserState.
Broken
== State || TdsParserState.Closed == State) {
7933
if (TdsParserState.
Broken
== State || TdsParserState.Closed == State) {
7968
if ((_state == TdsParserState.Closed) || (_state == TdsParserState.
Broken
)) {
8075
if ((TdsParserState.
Broken
== State) || (TdsParserState.Closed == State)) {
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (21)
576
while ((!hasLock) && (_parser.State != TdsParserState.Closed) && (_parser.State != TdsParserState.
Broken
)) {
591
while ((!hasParserLock) && (_parser.State != TdsParserState.Closed) && (_parser.State != TdsParserState.
Broken
)) {
773
if (state != TdsParserState.
Broken
&& state != TdsParserState.Closed) {
1005
if (_parser.State == TdsParserState.
Broken
|| _parser.State == TdsParserState.Closed) {
1937
if (_parser.State == TdsParserState.
Broken
|| _parser.State == TdsParserState.Closed) {
2010
Parser.State = TdsParserState.
Broken
;
2044
_parser.State = TdsParserState.
Broken
;
2094
_parser.State = TdsParserState.
Broken
;
2123
if (_parser.State == TdsParserState.
Broken
|| _parser.State == TdsParserState.Closed) {
2226
if ((_parser == null) || ((_parser.State == TdsParserState.
Broken
) || (_parser.State == TdsParserState.Closed))) {
2283
if ((_parser == null) || ((_parser.State == TdsParserState.
Broken
) || (_parser.State == TdsParserState.Closed))) {
2382
_parser.State = TdsParserState.
Broken
; // We failed subsequent read, we have to quit!
2398
if ((_parser.State == TdsParserState.Closed) || (_parser.State == TdsParserState.
Broken
)) {
2530
else if ((_parser.State == TdsParserState.Closed) || (_parser.State == TdsParserState.
Broken
)) {
2545
Debug.Assert(_parser.State == TdsParserState.
Broken
|| _parser.State == TdsParserState.Closed || _parser.Connection.IsConnectionDoomed, "Failed to capture exception while the connection was still healthy");
2550
_parser.State = TdsParserState.
Broken
;
2687
if ((_parser.State == TdsParserState.Closed) || (_parser.State == TdsParserState.
Broken
)) {
2811
if ((_parser.State == TdsParserState.Closed) || (_parser.State == TdsParserState.
Broken
)) {
3005
if (_parser.State == TdsParserState.Closed || _parser.State == TdsParserState.
Broken
) {
3034
if (_parser.State == TdsParserState.Closed || _parser.State == TdsParserState.
Broken
) {
3451
if ((parser != null) && (parser.State != TdsParserState.Closed) && (parser.State != TdsParserState.
Broken
)) {