52 references to XmlSchemaDatatypeVariety
System.Data.SqlXml (3)
System\Xml\Xsl\XmlQueryTypeFactory.cs (3)
45if (schemaType.Datatype.Variety == XmlSchemaDatatypeVariety.Atomic) { 423Debug.Assert(schemaType.Datatype.Variety == XmlSchemaDatatypeVariety.Atomic, "List or Union Xsd types should have been handled by caller."); 493Debug.Assert(!IsAtomicValue || schemaType.Datatype.Variety == XmlSchemaDatatypeVariety.Atomic);
System.Xml (48)
System\Xml\Core\XsdValidatingReader.cs (2)
2135if (xmlType.Datatype.Variety == XmlSchemaDatatypeVariety.List) { 2137if (listType.ItemType.Variety == XmlSchemaDatatypeVariety.Union) {
System\Xml\Dom\DocumentSchemaValidator.cs (1)
408if (attributeDef.Datatype.Variety == XmlSchemaDatatypeVariety.Union) {
System\Xml\Schema\ConstraintStruct.cs (1)
215if (xsdtype.Variety == XmlSchemaDatatypeVariety.List ||
System\Xml\Schema\DataTypeImplementation.cs (17)
94private XmlSchemaDatatypeVariety variety = XmlSchemaDatatypeVariety.Atomic; 183if (derivedType.Datatype.Variety == XmlSchemaDatatypeVariety.Atomic) { //Content is restriction 190if (derivedType.Datatype.Variety == XmlSchemaDatatypeVariety.List) { 235if (dt.variety == XmlSchemaDatatypeVariety.Atomic) { 350if (variety == XmlSchemaDatatypeVariety.List) { 353else if (variety == XmlSchemaDatatypeVariety.Union && !((Datatype_union)this).HasAtomicMembers()) { 357dt.variety = XmlSchemaDatatypeVariety.List; 367dt.variety = XmlSchemaDatatypeVariety.Union; 390else if (datatype.Variety == XmlSchemaDatatypeVariety.Union && !datatype.HasLexicalFacets && !datatype.HasValueFacets && variety != XmlSchemaDatatypeVariety.Union) { //base type is union (not a restriction of union) and derived type is not union 393else if ((variety == XmlSchemaDatatypeVariety.Union || variety == XmlSchemaDatatypeVariety.List) && restriction == null) { //derived type is union (not a restriction) 437public override XmlSchemaDatatypeVariety Variety { get { return variety;}} 487if (this.Variety == XmlSchemaDatatypeVariety.Union) { 1001if (itemType.Variety == XmlSchemaDatatypeVariety.Union) { 1096if (types[i].Datatype.Variety == XmlSchemaDatatypeVariety.List) {
System\Xml\Schema\DtdValidator.cs (2)
302if (dtype.Variety == XmlSchemaDatatypeVariety.List) { 484if (dtype.Variety == XmlSchemaDatatypeVariety.List) {
System\Xml\Schema\FacetChecker.cs (2)
692case XmlSchemaDatatypeVariety.List: 696case XmlSchemaDatatypeVariety.Atomic:
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
509if (unionMember.Datatype.Variety == XmlSchemaDatatypeVariety.Union) { //union of union 532if (st.Datatype.Variety == XmlSchemaDatatypeVariety.Union) { //union of union
System\Xml\Schema\SchemaSetCompiler.cs (4)
576if (unionMember.Datatype.Variety == XmlSchemaDatatypeVariety.Union) { //union of union 599if (st.Datatype.Variety == XmlSchemaDatatypeVariety.Union) { //union of union 2580if (baseDatatype.Variety == XmlSchemaDatatypeVariety.Union) { 2581if (derivedDatatype.Variety == XmlSchemaDatatypeVariety.Union) {
System\Xml\Schema\XdrValidator.cs (2)
401if (dtype.Variety == XmlSchemaDatatypeVariety.List) { 482if (dtype.Variety == XmlSchemaDatatypeVariety.List) {
System\Xml\Schema\XmlSchemaDataType.cs (5)
45public virtual XmlSchemaDatatypeVariety Variety { get { return XmlSchemaDatatypeVariety.Atomic; } } 131case XmlSchemaDatatypeVariety.List: 140case XmlSchemaDatatypeVariety.Union: 144case XmlSchemaDatatypeVariety.Atomic:
System\Xml\Schema\XmlSchemaInfo.cs (1)
136return schemaType.Datatype.Variety == XmlSchemaDatatypeVariety.Union;
System\Xml\Schema\XmlSchemaValidator.cs (4)
584if (datatype.Variety == XmlSchemaDatatypeVariety.Union && typedVal != null) { //Unpack the union 921if (attdef.Datatype.Variety == XmlSchemaDatatypeVariety.Union) { 1264if (dtype.Variety == XmlSchemaDatatypeVariety.Union) { 1677if (dtype.Variety == XmlSchemaDatatypeVariety.List) {
System\Xml\Schema\XmlValueConverter.cs (3)
290Debug.Assert(schemaType.Datatype.Variety != XmlSchemaDatatypeVariety.List, "schemaType must be list's item type, not list itself"); 3325if (memberTypes[i].Datatype.Variety == XmlSchemaDatatypeVariety.List) 3327else if (memberTypes[i].Datatype.Variety == XmlSchemaDatatypeVariety.Atomic)
System\Xml\Schema\XsdValidator.cs (2)
595if (dtype.Variety == XmlSchemaDatatypeVariety.List) { 615if (dtype.Variety == XmlSchemaDatatypeVariety.Union) {
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
85if (st.Datatype.Variety == XmlSchemaDatatypeVariety.Union) {