1 override of Variety
System.Xml (1)
System\Xml\Schema\DataTypeImplementation.cs (1)
437
public override XmlSchemaDatatypeVariety
Variety
{ get { return variety;}}
33 references to Variety
System.Data.SqlXml (3)
System\Xml\Xsl\XmlQueryTypeFactory.cs (3)
45
if (schemaType.Datatype.
Variety
== XmlSchemaDatatypeVariety.Atomic) {
423
Debug.Assert(schemaType.Datatype.
Variety
== XmlSchemaDatatypeVariety.Atomic, "List or Union Xsd types should have been handled by caller.");
493
Debug.Assert(!IsAtomicValue || schemaType.Datatype.
Variety
== XmlSchemaDatatypeVariety.Atomic);
System.Xml (29)
System\Xml\Core\XsdValidatingReader.cs (1)
2135
if (xmlType.Datatype.
Variety
== XmlSchemaDatatypeVariety.List) {
System\Xml\Dom\DocumentSchemaValidator.cs (1)
408
if (attributeDef.Datatype.
Variety
== XmlSchemaDatatypeVariety.Union) {
System\Xml\Schema\ConstraintStruct.cs (1)
215
if (xsdtype.
Variety
== XmlSchemaDatatypeVariety.List ||
System\Xml\Schema\DataTypeImplementation.cs (4)
183
if (derivedType.Datatype.
Variety
== XmlSchemaDatatypeVariety.Atomic) { //Content is restriction
190
if (derivedType.Datatype.
Variety
== XmlSchemaDatatypeVariety.List) {
390
else 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
1096
if (types[i].Datatype.
Variety
== XmlSchemaDatatypeVariety.List) {
System\Xml\Schema\DtdValidator.cs (2)
302
if (dtype.
Variety
== XmlSchemaDatatypeVariety.List) {
484
if (dtype.
Variety
== XmlSchemaDatatypeVariety.List) {
System\Xml\Schema\FacetChecker.cs (1)
691
switch (datatype.
Variety
) {
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
509
if (unionMember.Datatype.
Variety
== XmlSchemaDatatypeVariety.Union) { //union of union
532
if (st.Datatype.
Variety
== XmlSchemaDatatypeVariety.Union) { //union of union
System\Xml\Schema\SchemaSetCompiler.cs (4)
576
if (unionMember.Datatype.
Variety
== XmlSchemaDatatypeVariety.Union) { //union of union
599
if (st.Datatype.
Variety
== XmlSchemaDatatypeVariety.Union) { //union of union
2580
if (baseDatatype.
Variety
== XmlSchemaDatatypeVariety.Union) {
2581
if (derivedDatatype.
Variety
== XmlSchemaDatatypeVariety.Union) {
System\Xml\Schema\XdrValidator.cs (2)
401
if (dtype.
Variety
== XmlSchemaDatatypeVariety.List) {
482
if (dtype.
Variety
== XmlSchemaDatatypeVariety.List) {
System\Xml\Schema\XmlSchemaDataType.cs (1)
130
switch(this.
Variety
) {
System\Xml\Schema\XmlSchemaInfo.cs (1)
136
return schemaType.Datatype.
Variety
== XmlSchemaDatatypeVariety.Union;
System\Xml\Schema\XmlSchemaValidator.cs (4)
584
if (datatype.
Variety
== XmlSchemaDatatypeVariety.Union && typedVal != null) { //Unpack the union
921
if (attdef.Datatype.
Variety
== XmlSchemaDatatypeVariety.Union) {
1264
if (dtype.
Variety
== XmlSchemaDatatypeVariety.Union) {
1677
if (dtype.
Variety
== XmlSchemaDatatypeVariety.List) {
System\Xml\Schema\XmlValueConverter.cs (3)
290
Debug.Assert(schemaType.Datatype.
Variety
!= XmlSchemaDatatypeVariety.List, "schemaType must be list's item type, not list itself");
3325
if (memberTypes[i].Datatype.
Variety
== XmlSchemaDatatypeVariety.List)
3327
else if (memberTypes[i].Datatype.
Variety
== XmlSchemaDatatypeVariety.Atomic)
System\Xml\Schema\XsdValidator.cs (2)
595
if (dtype.
Variety
== XmlSchemaDatatypeVariety.List) {
615
if (dtype.
Variety
== XmlSchemaDatatypeVariety.Union) {
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
85
if (st.Datatype.
Variety
== XmlSchemaDatatypeVariety.Union) {