55 references to XmlSchemaDatatypeVariety
netstandard (1)
netstandard.cs (1)
2320[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaDatatypeVariety))]
System.Private.Xml (51)
System\Xml\Core\XsdValidatingReader.cs (2)
2724if (xmlType.Datatype.Variety == XmlSchemaDatatypeVariety.List) 2728if (listType.ItemType.Variety == XmlSchemaDatatypeVariety.Union)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
444if (attributeDef.Datatype.Variety == XmlSchemaDatatypeVariety.Union)
System\Xml\Schema\ConstraintStruct.cs (1)
241if (xsdtype.Variety == XmlSchemaDatatypeVariety.List ||
System\Xml\Schema\DataTypeImplementation.cs (17)
99private XmlSchemaDatatypeVariety _variety = XmlSchemaDatatypeVariety.Atomic; 193if (derivedType.Datatype!.Variety == XmlSchemaDatatypeVariety.Atomic) 201if (derivedType.Datatype.Variety == XmlSchemaDatatypeVariety.List) 251if (dt._variety == XmlSchemaDatatypeVariety.Atomic) 385if (_variety == XmlSchemaDatatypeVariety.List) 389else if (_variety == XmlSchemaDatatypeVariety.Union && !((Datatype_union)this).HasAtomicMembers()) 395dt._variety = XmlSchemaDatatypeVariety.List; 406dt._variety = XmlSchemaDatatypeVariety.Union; 435else if (datatype.Variety == XmlSchemaDatatypeVariety.Union && !datatype.HasLexicalFacets && !datatype.HasValueFacets && _variety != XmlSchemaDatatypeVariety.Union) 439else if ((_variety == XmlSchemaDatatypeVariety.Union || _variety == XmlSchemaDatatypeVariety.List) && _restriction == null) 482public override XmlSchemaDatatypeVariety Variety { get { return _variety; } } 540if (this.Variety == XmlSchemaDatatypeVariety.Union) 1101if (_itemType.Variety == XmlSchemaDatatypeVariety.Union) 1218if (_types[i].Datatype!.Variety == XmlSchemaDatatypeVariety.List)
System\Xml\Schema\DtdValidator.cs (2)
363if (dtype.Variety == XmlSchemaDatatypeVariety.List) 581if (dtype.Variety == XmlSchemaDatatypeVariety.List)
System\Xml\Schema\FacetChecker.cs (2)
838case XmlSchemaDatatypeVariety.List: 842case XmlSchemaDatatypeVariety.Atomic:
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
645if (unionMember.Datatype!.Variety == XmlSchemaDatatypeVariety.Union) 674if (st.Datatype!.Variety == XmlSchemaDatatypeVariety.Union)
System\Xml\Schema\SchemaSetCompiler.cs (4)
735if (unionMember.Datatype!.Variety == XmlSchemaDatatypeVariety.Union) 764if (st.Datatype!.Variety == XmlSchemaDatatypeVariety.Union) 3097if (baseDatatype.Variety == XmlSchemaDatatypeVariety.Union) 3099if (derivedDatatype.Variety == XmlSchemaDatatypeVariety.Union)
System\Xml\Schema\XdrValidator.cs (2)
487if (dtype.Variety == XmlSchemaDatatypeVariety.List) 588if (dtype.Variety == XmlSchemaDatatypeVariety.List)
System\Xml\Schema\XmlSchemaDataType.cs (5)
22public virtual XmlSchemaDatatypeVariety Variety { get { return XmlSchemaDatatypeVariety.Atomic; } } 91case XmlSchemaDatatypeVariety.List: 102case XmlSchemaDatatypeVariety.Union: 106case XmlSchemaDatatypeVariety.Atomic:
System\Xml\Schema\XmlSchemaInfo.cs (1)
170return _schemaType.Datatype.Variety == XmlSchemaDatatypeVariety.Union;
System\Xml\Schema\XmlSchemaValidator.cs (4)
633if (datatype.Variety == XmlSchemaDatatypeVariety.Union && typedVal != null) 1060if (attdef.Datatype.Variety == XmlSchemaDatatypeVariety.Union) 1488if (dtype.Variety == XmlSchemaDatatypeVariety.Union) 2003if (dtype.Variety == XmlSchemaDatatypeVariety.List)
System\Xml\Schema\XmlValueConverter.cs (3)
242Debug.Assert(schemaType.Datatype!.Variety != XmlSchemaDatatypeVariety.List, "schemaType must be list's item type, not list itself"); 3155if (memberTypes[i].Datatype!.Variety == XmlSchemaDatatypeVariety.List) 3157else if (memberTypes[i].Datatype!.Variety == XmlSchemaDatatypeVariety.Atomic)
System\Xml\Schema\XsdValidator.cs (2)
707if (dtype.Variety == XmlSchemaDatatypeVariety.List) 733if (dtype.Variety == XmlSchemaDatatypeVariety.Union)
System\Xml\Xsl\XmlQueryTypeFactory.cs (3)
44if (schemaType.Datatype!.Variety == XmlSchemaDatatypeVariety.Atomic) 437Debug.Assert(schemaType.Datatype!.Variety == XmlSchemaDatatypeVariety.Atomic, "List or Union Xsd types should have been handled by caller."); 513Debug.Assert(!IsAtomicValue || schemaType.Datatype!.Variety == XmlSchemaDatatypeVariety.Atomic);
System.Private.Xml.Linq (1)
System\Xml\Schema\XNodeValidator.cs (1)
99if (st.Datatype.Variety == XmlSchemaDatatypeVariety.Union)
System.Xml (1)
System.Xml.cs (1)
45[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaDatatypeVariety))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
44[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaDatatypeVariety))]