1 write to _xmlSchemaInfo
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (1)
165
_xmlSchemaInfo
= new XmlSchemaInfo();
63 references to _xmlSchemaInfo
dotnet-svcutil-lib (63)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (46)
416
if (
_xmlSchemaInfo
.ContentType == XmlSchemaContentType.TextOnly)
418
return
_xmlSchemaInfo
.SchemaType.Datatype.ValueType;
1459
if ((
_xmlSchemaInfo
.IsUnionType ||
_xmlSchemaInfo
.IsDefault) && _coreReader is XsdCachingReader)
1467
_validator.SkipToEndElement(
_xmlSchemaInfo
);
1648
return
_xmlSchemaInfo
.IsDefault;
1651
return
_xmlSchemaInfo
.IsDefault;
1675
return
_xmlSchemaInfo
.IsNil;
1693
return
_xmlSchemaInfo
.Validity;
1695
if (
_xmlSchemaInfo
.Validity == XmlSchemaValidity.Valid)
1699
return
_xmlSchemaInfo
.Validity;
1702
return
_xmlSchemaInfo
.Validity;
1726
return
_xmlSchemaInfo
.MemberType;
1729
return
_xmlSchemaInfo
.MemberType;
1752
return
_xmlSchemaInfo
.SchemaType;
1772
return
_xmlSchemaInfo
.SchemaElement;
1876
return
_xmlSchemaInfo
.XmlType;
1956
_xmlSchemaInfo
.Clear();
1975
_xmlSchemaInfo
.Clear();
2018
_validator.ValidateElement(_coreReader.LocalName, _coreReader.NamespaceURI,
_xmlSchemaInfo
, xsiType, xsiNil, xsiSchemaLocation, xsiNoNamespaceSL);
2020
_validator.ValidateEndOfAttributes(
_xmlSchemaInfo
);
2031
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
);
2033
if (
_xmlSchemaInfo
.IsDefault)
2038
_cachingReader.RecordTextNode(
_xmlSchemaInfo
.XmlType.ValueConverter.ToString(_atomicValue), _originalAtomicValueString, depth + 1, 0, 0);
2082
_xmlSchemaInfo
.Validity = XmlSchemaValidity.Invalid;
2288
object value = ReturnBoxedValue(ReadTillEndElement(),
_xmlSchemaInfo
.XmlType, unwrapTypedValue);
2329
if (
_xmlSchemaInfo
.ContentType == XmlSchemaContentType.TextOnly)
2331
typedValue = ReturnBoxedValue(_atomicValue,
_xmlSchemaInfo
.XmlType, unwrapTypedValue);
2348
if (
_xmlSchemaInfo
.IsDefault)
2350
if (
_xmlSchemaInfo
.ContentType == XmlSchemaContentType.TextOnly)
2352
typedValue = ReturnBoxedValue(_atomicValue,
_xmlSchemaInfo
.XmlType, unwrapTypedValue);
2419
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
);
2479
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
); //?? pop namespaceManager scope
2485
else if (
_xmlSchemaInfo
.IsDefault)
2487
_cachingReader.SwitchTextNodeAndEndElement(
_xmlSchemaInfo
.XmlType.ValueConverter.ToString(_atomicValue), _originalAtomicValueString);
2500
if (cachedReader == null &&
_xmlSchemaInfo
.HasDefaultValue)
2503
if (
_xmlSchemaInfo
.IsUnionType && !
_xmlSchemaInfo
.IsNil)
2532
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
); //?? pop namespaceManager scope
2534
if (
_xmlSchemaInfo
.IsDefault)
2536
_cachingReader.SwitchTextNodeAndEndElement(
_xmlSchemaInfo
.XmlType.ValueConverter.ToString(_atomicValue), _originalAtomicValueString);
2552
if (
_xmlSchemaInfo
.MemberType != null || _atomicValue == this)
2557
if (cachedReader == null &&
_xmlSchemaInfo
.IsUnionType && !
_xmlSchemaInfo
.IsNil)
2626
if (
_xmlSchemaInfo
.IsDefault)
2628
XmlSchemaElement schemaElem =
_xmlSchemaInfo
.SchemaElement;
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (17)
352
if ((
_xmlSchemaInfo
.IsUnionType ||
_xmlSchemaInfo
.IsDefault) && _coreReader is XsdCachingReader)
360
_validator.SkipToEndElement(
_xmlSchemaInfo
);
532
_xmlSchemaInfo
.Clear();
551
_xmlSchemaInfo
.Clear();
594
_validator.ValidateElement(_coreReader.LocalName, _coreReader.NamespaceURI,
_xmlSchemaInfo
, xsiType, xsiNil, xsiSchemaLocation, xsiNoNamespaceSL);
596
_validator.ValidateEndOfAttributes(
_xmlSchemaInfo
);
607
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
);
609
if (
_xmlSchemaInfo
.IsDefault)
614
_cachingReader.RecordTextNode(
_xmlSchemaInfo
.XmlType.ValueConverter.ToString(_atomicValue), _originalAtomicValueString, depth + 1, 0, 0);
708
object value = ReturnBoxedValue(await ReadTillEndElementAsync().ConfigureAwait(false),
_xmlSchemaInfo
.XmlType, unwrapTypedValue);
756
if (
_xmlSchemaInfo
.ContentType == XmlSchemaContentType.TextOnly)
758
typedValue = ReturnBoxedValue(_atomicValue,
_xmlSchemaInfo
.XmlType, unwrapTypedValue);
776
if (
_xmlSchemaInfo
.IsDefault)
778
if (
_xmlSchemaInfo
.ContentType == XmlSchemaContentType.TextOnly)
780
typedValue = ReturnBoxedValue(_atomicValue,
_xmlSchemaInfo
.XmlType, unwrapTypedValue);
851
_atomicValue = _validator.ValidateEndElement(
_xmlSchemaInfo
);