255 {
256 get
257 {
259 {
260 case State.Initial:
261 return ReadState.Initial;
262 case State.Content:
263 case State.EndElement:
264 case State.Attribute:
265 case State.AttrVal:
266 case State.InReadBinary:
267 return ReadState.Interactive;
268 case State.EOF:
269 return ReadState.EndOfFile;
270 case State.Closed:
271 return ReadState.Closed;
272 default:
273 return ReadState.Error;
274 }
275 }
276 }