94 references to ValidatingReaderState
System.Xml (94)
System\Xml\Core\XsdValidatingReader.cs (59)
66
private
ValidatingReaderState
validationState;
121
ValidatingReaderState
savedState;
151
validationState =
ValidatingReaderState
.Init;
228
if (validationState ==
ValidatingReaderState
.OnDefaultAttribute) {
317
if (validationState ==
ValidatingReaderState
.OnDefaultAttribute) { //XSD default attributes
934
validationState =
ValidatingReaderState
.OnAttribute;
941
validationState =
ValidatingReaderState
.OnDefaultAttribute;
949
if (validationState ==
ValidatingReaderState
.OnReadBinaryContent) {
965
validationState =
ValidatingReaderState
.OnAttribute;
980
validationState =
ValidatingReaderState
.OnDefaultAttribute;
986
if (validationState ==
ValidatingReaderState
.OnReadBinaryContent) {
1007
validationState =
ValidatingReaderState
.OnAttribute;
1013
validationState =
ValidatingReaderState
.OnDefaultAttribute;
1015
if (validationState ==
ValidatingReaderState
.OnReadBinaryContent) {
1031
validationState =
ValidatingReaderState
.OnAttribute;
1038
validationState =
ValidatingReaderState
.OnDefaultAttribute;
1043
if (validationState ==
ValidatingReaderState
.OnReadBinaryContent) {
1062
validationState =
ValidatingReaderState
.OnAttribute;
1069
validationState =
ValidatingReaderState
.OnDefaultAttribute;
1074
if (validationState ==
ValidatingReaderState
.OnReadBinaryContent) {
1085
validationState =
ValidatingReaderState
.ClearAttributes;
1094
case
ValidatingReaderState
.Read:
1102
validationState =
ValidatingReaderState
.EOF;
1107
case
ValidatingReaderState
.ParseInlineSchema:
1111
case
ValidatingReaderState
.OnAttribute:
1112
case
ValidatingReaderState
.OnDefaultAttribute:
1113
case
ValidatingReaderState
.ClearAttributes:
1114
case
ValidatingReaderState
.OnReadAttributeValue:
1117
validationState =
ValidatingReaderState
.ParseInlineSchema;
1118
goto case
ValidatingReaderState
.ParseInlineSchema;
1121
validationState =
ValidatingReaderState
.Read;
1122
goto case
ValidatingReaderState
.Read;
1125
case
ValidatingReaderState
.ReadAhead: //Will enter here on calling Skip()
1128
validationState =
ValidatingReaderState
.Read;
1131
case
ValidatingReaderState
.OnReadBinaryContent:
1136
case
ValidatingReaderState
.Init:
1137
validationState =
ValidatingReaderState
.Read;
1143
goto case
ValidatingReaderState
.Read;
1146
case
ValidatingReaderState
.ReaderClosed:
1147
case
ValidatingReaderState
.EOF:
1165
validationState =
ValidatingReaderState
.ReaderClosed;
1171
return (validationState ==
ValidatingReaderState
.Init) ? ReadState.Initial : coreReader.ReadState;
1190
validationState =
ValidatingReaderState
.ReadAhead;
1224
if (validationState ==
ValidatingReaderState
.OnReadBinaryContent) {
1229
if (validationState ==
ValidatingReaderState
.OnDefaultAttribute) {
1231
validationState =
ValidatingReaderState
.OnReadAttributeValue;
1251
if (validationState !=
ValidatingReaderState
.OnReadBinaryContent) {
1264
validationState =
ValidatingReaderState
.OnReadBinaryContent;
1274
if (validationState !=
ValidatingReaderState
.OnReadBinaryContent) {
1287
validationState =
ValidatingReaderState
.OnReadBinaryContent;
1297
if (validationState !=
ValidatingReaderState
.OnReadBinaryContent) {
1310
validationState =
ValidatingReaderState
.OnReadBinaryContent;
1320
if (validationState !=
ValidatingReaderState
.OnReadBinaryContent) {
1333
validationState =
ValidatingReaderState
.OnReadBinaryContent;
1608
validationState =
ValidatingReaderState
.ParseInlineSchema;
1611
validationState =
ValidatingReaderState
.ClearAttributes;
1660
validationState =
ValidatingReaderState
.ClearAttributes;
1833
validationState =
ValidatingReaderState
.Read;
1855
if ( validationState ==
ValidatingReaderState
.OnDefaultAttribute) {
System\Xml\Core\XsdValidatingReaderAsync.cs (35)
183
validationState =
ValidatingReaderState
.EOF;
202
validationState =
ValidatingReaderState
.EOF;
210
validationState =
ValidatingReaderState
.Read;
220
validationState =
ValidatingReaderState
.Read;
227
case
ValidatingReaderState
.Read:
231
case
ValidatingReaderState
.ParseInlineSchema:
234
case
ValidatingReaderState
.OnAttribute:
235
case
ValidatingReaderState
.OnDefaultAttribute:
236
case
ValidatingReaderState
.ClearAttributes:
237
case
ValidatingReaderState
.OnReadAttributeValue:
240
validationState =
ValidatingReaderState
.ParseInlineSchema;
241
goto case
ValidatingReaderState
.ParseInlineSchema;
244
validationState =
ValidatingReaderState
.Read;
245
goto case
ValidatingReaderState
.Read;
248
case
ValidatingReaderState
.ReadAhead: //Will enter here on calling Skip()
253
case
ValidatingReaderState
.OnReadBinaryContent:
257
case
ValidatingReaderState
.Init:
258
validationState =
ValidatingReaderState
.Read;
263
goto case
ValidatingReaderState
.Read;
266
case
ValidatingReaderState
.ReaderClosed:
267
case
ValidatingReaderState
.EOF:
290
validationState =
ValidatingReaderState
.ReadAhead;
311
if (validationState !=
ValidatingReaderState
.OnReadBinaryContent) {
324
validationState =
ValidatingReaderState
.OnReadBinaryContent;
334
if (validationState !=
ValidatingReaderState
.OnReadBinaryContent) {
347
validationState =
ValidatingReaderState
.OnReadBinaryContent;
357
if (validationState !=
ValidatingReaderState
.OnReadBinaryContent) {
370
validationState =
ValidatingReaderState
.OnReadBinaryContent;
380
if (validationState !=
ValidatingReaderState
.OnReadBinaryContent) {
393
validationState =
ValidatingReaderState
.OnReadBinaryContent;
455
validationState =
ValidatingReaderState
.ParseInlineSchema;
458
validationState =
ValidatingReaderState
.ClearAttributes;
507
validationState =
ValidatingReaderState
.ClearAttributes;
542
validationState =
ValidatingReaderState
.Read;
567
if ( validationState ==
ValidatingReaderState
.OnDefaultAttribute) {