44 references to State
System.Xml (44)
System\Xml\Core\ReadContentAsBinaryHelper.cs (23)
24State state; 78case State.None: 86case State.InReadContent: 93case State.InReadElementContent: 100Debug.Assert( state == State.InReadContent ); 125case State.None: 133case State.InReadContent: 140case State.InReadElementContent: 147Debug.Assert( state == State.InReadContent ); 172case State.None: 180case State.InReadContent: 182case State.InReadElementContent: 194Debug.Assert( state == State.InReadElementContent ); 219case State.None: 227case State.InReadContent: 229case State.InReadElementContent: 241Debug.Assert( state == State.InReadElementContent ); 251if ( state != State.None ) { 254if ( state == State.InReadElementContent ) { 266state = State.None; 278state = State.InReadContent; 302state = State.InReadElementContent; 392state = State.None;
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (21)
28case State.None: 36case State.InReadContent: 43case State.InReadElementContent: 50Debug.Assert( state == State.InReadContent ); 75case State.None: 83case State.InReadContent: 90case State.InReadElementContent: 97Debug.Assert( state == State.InReadContent ); 122case State.None: 130case State.InReadContent: 132case State.InReadElementContent: 144Debug.Assert( state == State.InReadElementContent ); 169case State.None: 177case State.InReadContent: 179case State.InReadElementContent: 191Debug.Assert( state == State.InReadElementContent ); 201if ( state != State.None ) { 204if ( state == State.InReadElementContent ) { 222state = State.InReadContent; 246state = State.InReadElementContent; 316state = State.None;