1 write to _xmlSchemaInfo
System.Private.Xml (1)
System\Xml\Core\XsdValidatingReader.cs (1)
148
_xmlSchemaInfo
= new XmlSchemaInfo();
64 references to _xmlSchemaInfo
System.Private.Xml (64)
System\Xml\Core\XsdValidatingReader.cs (47)
423
if (
_xmlSchemaInfo
.ContentType == XmlSchemaContentType.TextOnly)
425
Debug.Assert(
_xmlSchemaInfo
.SchemaType!.Datatype != null);
426
return
_xmlSchemaInfo
.SchemaType.Datatype.ValueType;
1521
if ((
_xmlSchemaInfo
.IsUnionType ||
_xmlSchemaInfo
.IsDefault) && _coreReader is XsdCachingReader)
1530
_validator.SkipToEndElement(
_xmlSchemaInfo
);
1722
return
_xmlSchemaInfo
.IsDefault;
1725
return
_xmlSchemaInfo
.IsDefault;
1751
return
_xmlSchemaInfo
.IsNil;
1770
return
_xmlSchemaInfo
.Validity;
1773
if (
_xmlSchemaInfo
.Validity == XmlSchemaValidity.Valid)
1779
return
_xmlSchemaInfo
.Validity;
1782
return
_xmlSchemaInfo
.Validity;
1809
return
_xmlSchemaInfo
.MemberType;
1812
return
_xmlSchemaInfo
.MemberType;
1836
return
_xmlSchemaInfo
.SchemaType;
1858
return
_xmlSchemaInfo
.SchemaElement;
1969
return
_xmlSchemaInfo
.XmlType;
2047
_xmlSchemaInfo
.Clear();
2068
_xmlSchemaInfo
.Clear();
2118
_validator.ValidateElement(_coreReader.LocalName, _coreReader.NamespaceURI,
_xmlSchemaInfo
, xsiType, xsiNil, xsiSchemaLocation, xsiNoNamespaceSL);
2120
_validator.ValidateEndOfAttributes(
_xmlSchemaInfo
);
2132
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
);
2134
if (
_xmlSchemaInfo
.IsDefault)
2141
_cachingReader.RecordTextNode(
_xmlSchemaInfo
.XmlType!.ValueConverter.ToString(_atomicValue), _originalAtomicValueString, depth + 1, 0, 0);
2190
_xmlSchemaInfo
.Validity = XmlSchemaValidity.Invalid;
2407
object? value = ReturnBoxedValue(ReadTillEndElement(),
_xmlSchemaInfo
.XmlType!, unwrapTypedValue);
2448
if (
_xmlSchemaInfo
.ContentType == XmlSchemaContentType.TextOnly)
2450
typedValue = ReturnBoxedValue(_atomicValue,
_xmlSchemaInfo
.XmlType!, unwrapTypedValue);
2470
if (
_xmlSchemaInfo
.IsDefault)
2472
if (
_xmlSchemaInfo
.ContentType == XmlSchemaContentType.TextOnly)
2474
typedValue = ReturnBoxedValue(_atomicValue,
_xmlSchemaInfo
.XmlType!, unwrapTypedValue);
2548
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
);
2616
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
); //?? pop namespaceManager scope
2623
else if (
_xmlSchemaInfo
.IsDefault)
2627
_cachingReader.SwitchTextNodeAndEndElement(
_xmlSchemaInfo
.XmlType!.ValueConverter.ToString(_atomicValue), _originalAtomicValueString);
2642
if (cachedReader == null &&
_xmlSchemaInfo
.HasDefaultValue)
2647
if (
_xmlSchemaInfo
.IsUnionType && !
_xmlSchemaInfo
.IsNil)
2677
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
); //?? pop namespaceManager scope
2679
if (
_xmlSchemaInfo
.IsDefault)
2682
_cachingReader.SwitchTextNodeAndEndElement(
_xmlSchemaInfo
.XmlType!.ValueConverter.ToString(_atomicValue!), _originalAtomicValueString);
2700
if (
_xmlSchemaInfo
.MemberType != null || _atomicValue == this)
2706
if (cachedReader == null &&
_xmlSchemaInfo
.IsUnionType && !
_xmlSchemaInfo
.IsNil)
2780
if (
_xmlSchemaInfo
.IsDefault)
2782
XmlSchemaElement? schemaElem =
_xmlSchemaInfo
.SchemaElement;
System\Xml\Core\XsdValidatingReaderAsync.cs (17)
359
if ((
_xmlSchemaInfo
.IsUnionType ||
_xmlSchemaInfo
.IsDefault) && _coreReader is XsdCachingReader)
368
_validator.SkipToEndElement(
_xmlSchemaInfo
);
546
_xmlSchemaInfo
.Clear();
567
_xmlSchemaInfo
.Clear();
616
_validator.ValidateElement(_coreReader.LocalName, _coreReader.NamespaceURI,
_xmlSchemaInfo
, xsiType, xsiNil, xsiSchemaLocation, xsiNoNamespaceSL);
618
_validator.ValidateEndOfAttributes(
_xmlSchemaInfo
);
630
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
);
632
if (
_xmlSchemaInfo
.IsDefault)
639
_cachingReader.RecordTextNode(
_xmlSchemaInfo
.XmlType!.ValueConverter.ToString(_atomicValue), _originalAtomicValueString, depth + 1, 0, 0);
734
object? value = ReturnBoxedValue(await ReadTillEndElementAsync().ConfigureAwait(false),
_xmlSchemaInfo
.XmlType!, unwrapTypedValue);
781
if (
_xmlSchemaInfo
.ContentType == XmlSchemaContentType.TextOnly)
783
typedValue = ReturnBoxedValue(_atomicValue,
_xmlSchemaInfo
.XmlType!, unwrapTypedValue);
804
if (
_xmlSchemaInfo
.IsDefault)
806
if (
_xmlSchemaInfo
.ContentType == XmlSchemaContentType.TextOnly)
808
typedValue = ReturnBoxedValue(_atomicValue,
_xmlSchemaInfo
.XmlType!, unwrapTypedValue);
886
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
);