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)
423if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 425Debug.Assert(_xmlSchemaInfo.SchemaType!.Datatype != null); 426return _xmlSchemaInfo.SchemaType.Datatype.ValueType; 1521if ((_xmlSchemaInfo.IsUnionType || _xmlSchemaInfo.IsDefault) && _coreReader is XsdCachingReader) 1530_validator.SkipToEndElement(_xmlSchemaInfo); 1722return _xmlSchemaInfo.IsDefault; 1725return _xmlSchemaInfo.IsDefault; 1751return _xmlSchemaInfo.IsNil; 1770return _xmlSchemaInfo.Validity; 1773if (_xmlSchemaInfo.Validity == XmlSchemaValidity.Valid) 1779return _xmlSchemaInfo.Validity; 1782return _xmlSchemaInfo.Validity; 1809return _xmlSchemaInfo.MemberType; 1812return _xmlSchemaInfo.MemberType; 1836return _xmlSchemaInfo.SchemaType; 1858return _xmlSchemaInfo.SchemaElement; 1969return _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); 2134if (_xmlSchemaInfo.IsDefault) 2141_cachingReader.RecordTextNode(_xmlSchemaInfo.XmlType!.ValueConverter.ToString(_atomicValue), _originalAtomicValueString, depth + 1, 0, 0); 2190_xmlSchemaInfo.Validity = XmlSchemaValidity.Invalid; 2407object? value = ReturnBoxedValue(ReadTillEndElement(), _xmlSchemaInfo.XmlType!, unwrapTypedValue); 2448if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 2450typedValue = ReturnBoxedValue(_atomicValue, _xmlSchemaInfo.XmlType!, unwrapTypedValue); 2470if (_xmlSchemaInfo.IsDefault) 2472if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 2474typedValue = ReturnBoxedValue(_atomicValue, _xmlSchemaInfo.XmlType!, unwrapTypedValue); 2548_atomicValue = _validator.ValidateEndElement(_xmlSchemaInfo); 2616_atomicValue = _validator.ValidateEndElement(_xmlSchemaInfo); //?? pop namespaceManager scope 2623else if (_xmlSchemaInfo.IsDefault) 2627_cachingReader.SwitchTextNodeAndEndElement(_xmlSchemaInfo.XmlType!.ValueConverter.ToString(_atomicValue), _originalAtomicValueString); 2642if (cachedReader == null && _xmlSchemaInfo.HasDefaultValue) 2647if (_xmlSchemaInfo.IsUnionType && !_xmlSchemaInfo.IsNil) 2677_atomicValue = _validator.ValidateEndElement(_xmlSchemaInfo); //?? pop namespaceManager scope 2679if (_xmlSchemaInfo.IsDefault) 2682_cachingReader.SwitchTextNodeAndEndElement(_xmlSchemaInfo.XmlType!.ValueConverter.ToString(_atomicValue!), _originalAtomicValueString); 2700if (_xmlSchemaInfo.MemberType != null || _atomicValue == this) 2706if (cachedReader == null && _xmlSchemaInfo.IsUnionType && !_xmlSchemaInfo.IsNil) 2780if (_xmlSchemaInfo.IsDefault) 2782XmlSchemaElement? schemaElem = _xmlSchemaInfo.SchemaElement;
System\Xml\Core\XsdValidatingReaderAsync.cs (17)
359if ((_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); 632if (_xmlSchemaInfo.IsDefault) 639_cachingReader.RecordTextNode(_xmlSchemaInfo.XmlType!.ValueConverter.ToString(_atomicValue), _originalAtomicValueString, depth + 1, 0, 0); 734object? value = ReturnBoxedValue(await ReadTillEndElementAsync().ConfigureAwait(false), _xmlSchemaInfo.XmlType!, unwrapTypedValue); 781if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 783typedValue = ReturnBoxedValue(_atomicValue, _xmlSchemaInfo.XmlType!, unwrapTypedValue); 804if (_xmlSchemaInfo.IsDefault) 806if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 808typedValue = ReturnBoxedValue(_atomicValue, _xmlSchemaInfo.XmlType!, unwrapTypedValue); 886_atomicValue = _validator.ValidateEndElement(_xmlSchemaInfo);