1 write to xmlSchemaInfo
System.Xml (1)
System\Xml\Core\XsdValidatingReader.cs (1)
157xmlSchemaInfo = new XmlSchemaInfo();
63 references to xmlSchemaInfo
System.Xml (63)
System\Xml\Core\XsdValidatingReader.cs (46)
356if (xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) { 357return xmlSchemaInfo.SchemaType.Datatype.ValueType; 1186if ((xmlSchemaInfo.IsUnionType || xmlSchemaInfo.IsDefault) && coreReader is XsdCachingReader) { 1192validator.SkipToEndElement(xmlSchemaInfo); 1347return xmlSchemaInfo.IsDefault; 1350return xmlSchemaInfo.IsDefault; 1370return xmlSchemaInfo.IsNil; 1384return xmlSchemaInfo.Validity; 1386if (xmlSchemaInfo.Validity == XmlSchemaValidity.Valid) { //It might be valid for unions since we read ahead, but report notknown for consistency 1389return xmlSchemaInfo.Validity; 1392return xmlSchemaInfo.Validity; 1411return xmlSchemaInfo.MemberType; 1414return xmlSchemaInfo.MemberType; 1433return xmlSchemaInfo.SchemaType; 1449return xmlSchemaInfo.SchemaElement; 1530return xmlSchemaInfo.XmlType; 1602xmlSchemaInfo.Clear(); 1619xmlSchemaInfo.Clear(); 1654validator.ValidateElement(coreReader.LocalName, coreReader.NamespaceURI, xmlSchemaInfo, xsiType, xsiNil, xsiSchemaLocation, xsiNoNamespaceSL); 1656validator.ValidateEndOfAttributes(xmlSchemaInfo); 1665atomicValue = validator.ValidateEndElement(xmlSchemaInfo); 1667if (xmlSchemaInfo.IsDefault) { //The atomicValue returned is a default value 1671cachingReader.RecordTextNode( xmlSchemaInfo.XmlType.ValueConverter.ToString( atomicValue ), originalAtomicValueString, depth + 1, 0, 0 ); 1709xmlSchemaInfo.Validity = XmlSchemaValidity.Invalid; 1885object value = ReturnBoxedValue(ReadTillEndElement(), xmlSchemaInfo.XmlType, unwrapTypedValue); 1926if (xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) { 1927typedValue = ReturnBoxedValue(atomicValue, xmlSchemaInfo.XmlType, unwrapTypedValue); 1943if (xmlSchemaInfo.IsDefault) { 1944if (xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) { 1945typedValue = ReturnBoxedValue(atomicValue, xmlSchemaInfo.XmlType, unwrapTypedValue); 2004atomicValue = validator.ValidateEndElement(xmlSchemaInfo); 2056atomicValue = validator.ValidateEndElement(xmlSchemaInfo); //?? pop namespaceManager scope 2061else if (xmlSchemaInfo.IsDefault) { //The atomicValue returned is a default value 2062cachingReader.SwitchTextNodeAndEndElement(xmlSchemaInfo.XmlType.ValueConverter.ToString(atomicValue), originalAtomicValueString); 2074if (cachedReader == null && xmlSchemaInfo.HasDefaultValue) { //Get Isdefault 2076if (xmlSchemaInfo.IsUnionType && !xmlSchemaInfo.IsNil) { //If it also union, get the memberType as well 2101atomicValue = validator.ValidateEndElement(xmlSchemaInfo); //?? pop namespaceManager scope 2103if (xmlSchemaInfo.IsDefault) { //The atomicValue returned is a default value 2104cachingReader.SwitchTextNodeAndEndElement(xmlSchemaInfo.XmlType.ValueConverter.ToString(atomicValue), originalAtomicValueString); 2119if (xmlSchemaInfo.MemberType != null || atomicValue == this) { 2123if (cachedReader == null && xmlSchemaInfo.IsUnionType && !xmlSchemaInfo.IsNil) { 2178if ( xmlSchemaInfo.IsDefault ) { 2179XmlSchemaElement schemaElem = xmlSchemaInfo.SchemaElement;
System\Xml\Core\XsdValidatingReaderAsync.cs (17)
286if ((xmlSchemaInfo.IsUnionType || xmlSchemaInfo.IsDefault) && coreReader is XsdCachingReader) { 292validator.SkipToEndElement(xmlSchemaInfo); 449xmlSchemaInfo.Clear(); 466xmlSchemaInfo.Clear(); 501validator.ValidateElement(coreReader.LocalName, coreReader.NamespaceURI, xmlSchemaInfo, xsiType, xsiNil, xsiSchemaLocation, xsiNoNamespaceSL); 503validator.ValidateEndOfAttributes(xmlSchemaInfo); 512atomicValue = validator.ValidateEndElement(xmlSchemaInfo); 514if (xmlSchemaInfo.IsDefault) { //The atomicValue returned is a default value 518cachingReader.RecordTextNode( xmlSchemaInfo.XmlType.ValueConverter.ToString( atomicValue ), originalAtomicValueString, depth + 1, 0, 0 ); 601object value = ReturnBoxedValue(await ReadTillEndElementAsync().ConfigureAwait(false), xmlSchemaInfo.XmlType, unwrapTypedValue); 648if (xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) { 649typedValue = ReturnBoxedValue(atomicValue, xmlSchemaInfo.XmlType, unwrapTypedValue); 666if (xmlSchemaInfo.IsDefault) { 667if (xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) { 668typedValue = ReturnBoxedValue(atomicValue, xmlSchemaInfo.XmlType, unwrapTypedValue); 731atomicValue = validator.ValidateEndElement(xmlSchemaInfo);