60 writes to validationState
System.Xml (60)
System\Xml\Core\XsdValidatingReader.cs (39)
151
validationState
= ValidatingReaderState.Init;
934
validationState
= ValidatingReaderState.OnAttribute;
941
validationState
= ValidatingReaderState.OnDefaultAttribute;
951
validationState
= savedState;
965
validationState
= ValidatingReaderState.OnAttribute;
980
validationState
= ValidatingReaderState.OnDefaultAttribute;
988
validationState
= savedState;
1007
validationState
= ValidatingReaderState.OnAttribute;
1013
validationState
= ValidatingReaderState.OnDefaultAttribute;
1017
validationState
= savedState;
1031
validationState
= ValidatingReaderState.OnAttribute;
1038
validationState
= ValidatingReaderState.OnDefaultAttribute;
1045
validationState
= savedState;
1062
validationState
= ValidatingReaderState.OnAttribute;
1069
validationState
= ValidatingReaderState.OnDefaultAttribute;
1076
validationState
= savedState;
1085
validationState
= ValidatingReaderState.ClearAttributes;
1102
validationState
= ValidatingReaderState.EOF;
1117
validationState
= ValidatingReaderState.ParseInlineSchema;
1121
validationState
= ValidatingReaderState.Read;
1128
validationState
= ValidatingReaderState.Read;
1132
validationState
= savedState;
1137
validationState
= ValidatingReaderState.Read;
1165
validationState
= ValidatingReaderState.ReaderClosed;
1190
validationState
= ValidatingReaderState.ReadAhead;
1226
validationState
= savedState;
1231
validationState
= ValidatingReaderState.OnReadAttributeValue;
1257
validationState
= savedState;
1264
validationState
= ValidatingReaderState.OnReadBinaryContent;
1280
validationState
= savedState;
1287
validationState
= ValidatingReaderState.OnReadBinaryContent;
1303
validationState
= savedState;
1310
validationState
= ValidatingReaderState.OnReadBinaryContent;
1326
validationState
= savedState;
1333
validationState
= ValidatingReaderState.OnReadBinaryContent;
1608
validationState
= ValidatingReaderState.ParseInlineSchema;
1611
validationState
= ValidatingReaderState.ClearAttributes;
1660
validationState
= ValidatingReaderState.ClearAttributes;
1833
validationState
= ValidatingReaderState.Read;
System\Xml\Core\XsdValidatingReaderAsync.cs (21)
183
validationState
= ValidatingReaderState.EOF;
202
validationState
= ValidatingReaderState.EOF;
210
validationState
= ValidatingReaderState.Read;
220
validationState
= ValidatingReaderState.Read;
240
validationState
= ValidatingReaderState.ParseInlineSchema;
244
validationState
= ValidatingReaderState.Read;
254
validationState
= savedState;
258
validationState
= ValidatingReaderState.Read;
290
validationState
= ValidatingReaderState.ReadAhead;
317
validationState
= savedState;
324
validationState
= ValidatingReaderState.OnReadBinaryContent;
340
validationState
= savedState;
347
validationState
= ValidatingReaderState.OnReadBinaryContent;
363
validationState
= savedState;
370
validationState
= ValidatingReaderState.OnReadBinaryContent;
386
validationState
= savedState;
393
validationState
= ValidatingReaderState.OnReadBinaryContent;
455
validationState
= ValidatingReaderState.ParseInlineSchema;
458
validationState
= ValidatingReaderState.ClearAttributes;
507
validationState
= ValidatingReaderState.ClearAttributes;
542
validationState
= ValidatingReaderState.Read;
47 references to validationState
System.Xml (47)
System\Xml\Core\XsdValidatingReader.cs (32)
211
if ((int)
validationState
< 0) {
228
if (
validationState
== ValidatingReaderState.OnDefaultAttribute) {
242
if ((int)
validationState
< 0) {
252
if ((int)
validationState
< 0) {
262
if ((int)
validationState
< 0) {
272
if ((int)
validationState
< 0) {
282
if ((int)
validationState
< 0) {
292
if ((int)
validationState
< 0) {
317
if (
validationState
== ValidatingReaderState.OnDefaultAttribute) { //XSD default attributes
949
if (
validationState
== ValidatingReaderState.OnReadBinaryContent) {
986
if (
validationState
== ValidatingReaderState.OnReadBinaryContent) {
1015
if (
validationState
== ValidatingReaderState.OnReadBinaryContent) {
1043
if (
validationState
== ValidatingReaderState.OnReadBinaryContent) {
1074
if (
validationState
== ValidatingReaderState.OnReadBinaryContent) {
1083
if (coreReader.MoveToElement() || (int)
validationState
< 0) { //states OnDefaultAttribute or OnReadAttributeValue
1093
switch (
validationState
) {
1171
return (
validationState
== ValidatingReaderState.Init) ? ReadState.Initial : coreReader.ReadState;
1224
if (
validationState
== ValidatingReaderState.OnReadBinaryContent) {
1229
if (
validationState
== ValidatingReaderState.OnDefaultAttribute) {
1251
if (
validationState
!= ValidatingReaderState.OnReadBinaryContent) {
1253
savedState =
validationState
;
1263
savedState =
validationState
;
1274
if (
validationState
!= ValidatingReaderState.OnReadBinaryContent) {
1276
savedState =
validationState
;
1286
savedState =
validationState
;
1297
if (
validationState
!= ValidatingReaderState.OnReadBinaryContent) {
1299
savedState =
validationState
;
1309
savedState =
validationState
;
1320
if (
validationState
!= ValidatingReaderState.OnReadBinaryContent) {
1322
savedState =
validationState
;
1332
savedState =
validationState
;
1855
if (
validationState
== ValidatingReaderState.OnDefaultAttribute) {
System\Xml\Core\XsdValidatingReaderAsync.cs (15)
21
if ((int)
validationState
< 0) {
226
switch (
validationState
) {
311
if (
validationState
!= ValidatingReaderState.OnReadBinaryContent) {
313
savedState =
validationState
;
323
savedState =
validationState
;
334
if (
validationState
!= ValidatingReaderState.OnReadBinaryContent) {
336
savedState =
validationState
;
346
savedState =
validationState
;
357
if (
validationState
!= ValidatingReaderState.OnReadBinaryContent) {
359
savedState =
validationState
;
369
savedState =
validationState
;
380
if (
validationState
!= ValidatingReaderState.OnReadBinaryContent) {
382
savedState =
validationState
;
392
savedState =
validationState
;
567
if (
validationState
== ValidatingReaderState.OnDefaultAttribute) {