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