22 references to Union
System.Private.Xml (21)
System\Xml\Core\XsdValidatingReader.cs (1)
2728if (listType.ItemType.Variety == XmlSchemaDatatypeVariety.Union)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
444if (attributeDef.Datatype.Variety == XmlSchemaDatatypeVariety.Union)
System\Xml\Schema\DataTypeImplementation.cs (7)
389else if (_variety == XmlSchemaDatatypeVariety.Union && !((Datatype_union)this).HasAtomicMembers()) 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) 540if (this.Variety == XmlSchemaDatatypeVariety.Union) 1101if (_itemType.Variety == XmlSchemaDatatypeVariety.Union)
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\XmlSchemaDataType.cs (1)
102case XmlSchemaDatatypeVariety.Union:
System\Xml\Schema\XmlSchemaInfo.cs (1)
170return _schemaType.Datatype.Variety == XmlSchemaDatatypeVariety.Union;
System\Xml\Schema\XmlSchemaValidator.cs (3)
633if (datatype.Variety == XmlSchemaDatatypeVariety.Union && typedVal != null) 1060if (attdef.Datatype.Variety == XmlSchemaDatatypeVariety.Union) 1488if (dtype.Variety == XmlSchemaDatatypeVariety.Union)
System\Xml\Schema\XsdValidator.cs (1)
733if (dtype.Variety == XmlSchemaDatatypeVariety.Union)
System.Private.Xml.Linq (1)
System\Xml\Schema\XNodeValidator.cs (1)
99if (st.Datatype.Variety == XmlSchemaDatatypeVariety.Union)