1 override of Variety
System.Private.Xml (1)
System\Xml\Schema\DataTypeImplementation.cs (1)
482public override XmlSchemaDatatypeVariety Variety { get { return _variety; } }
33 references to Variety
System.Private.Xml (32)
System\Xml\Core\XsdValidatingReader.cs (1)
2724if (xmlType.Datatype.Variety == XmlSchemaDatatypeVariety.List)
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 (4)
193if (derivedType.Datatype!.Variety == XmlSchemaDatatypeVariety.Atomic) 201if (derivedType.Datatype.Variety == XmlSchemaDatatypeVariety.List) 435else if (datatype.Variety == XmlSchemaDatatypeVariety.Union && !datatype.HasLexicalFacets && !datatype.HasValueFacets && _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 (1)
836switch (datatype.Variety)
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 (1)
89switch (this.Variety)
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)