22 references to Union
System.Xml (21)
System\Xml\Core\XsdValidatingReader.cs (1)
2137if (listType.ItemType.Variety == XmlSchemaDatatypeVariety.Union) {
System\Xml\Dom\DocumentSchemaValidator.cs (1)
408if (attributeDef.Datatype.Variety == XmlSchemaDatatypeVariety.Union) {
System\Xml\Schema\DataTypeImplementation.cs (7)
353else if (variety == XmlSchemaDatatypeVariety.Union && !((Datatype_union)this).HasAtomicMembers()) { 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) 487if (this.Variety == XmlSchemaDatatypeVariety.Union) { 1001if (itemType.Variety == XmlSchemaDatatypeVariety.Union) {
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\XmlSchemaDataType.cs (1)
140case XmlSchemaDatatypeVariety.Union:
System\Xml\Schema\XmlSchemaInfo.cs (1)
136return schemaType.Datatype.Variety == XmlSchemaDatatypeVariety.Union;
System\Xml\Schema\XmlSchemaValidator.cs (3)
584if (datatype.Variety == XmlSchemaDatatypeVariety.Union && typedVal != null) { //Unpack the union 921if (attdef.Datatype.Variety == XmlSchemaDatatypeVariety.Union) { 1264if (dtype.Variety == XmlSchemaDatatypeVariety.Union) {
System\Xml\Schema\XsdValidator.cs (1)
615if (dtype.Variety == XmlSchemaDatatypeVariety.Union) {
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
85if (st.Datatype.Variety == XmlSchemaDatatypeVariety.Union) {