22 references to Union
System.Private.Xml (21)
System\Xml\Core\XsdValidatingReader.cs (1)
2728
if (listType.ItemType.Variety == XmlSchemaDatatypeVariety.
Union
)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
444
if (attributeDef.Datatype.Variety == XmlSchemaDatatypeVariety.
Union
)
System\Xml\Schema\DataTypeImplementation.cs (7)
389
else if (_variety == XmlSchemaDatatypeVariety.
Union
&& !((Datatype_union)this).HasAtomicMembers())
406
dt._variety = XmlSchemaDatatypeVariety.
Union
;
435
else if (datatype.Variety == XmlSchemaDatatypeVariety.
Union
&& !datatype.HasLexicalFacets && !datatype.HasValueFacets && _variety != XmlSchemaDatatypeVariety.
Union
)
439
else if ((_variety == XmlSchemaDatatypeVariety.
Union
|| _variety == XmlSchemaDatatypeVariety.List) && _restriction == null)
540
if (this.Variety == XmlSchemaDatatypeVariety.
Union
)
1101
if (_itemType.Variety == XmlSchemaDatatypeVariety.
Union
)
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
645
if (unionMember.Datatype!.Variety == XmlSchemaDatatypeVariety.
Union
)
674
if (st.Datatype!.Variety == XmlSchemaDatatypeVariety.
Union
)
System\Xml\Schema\SchemaSetCompiler.cs (4)
735
if (unionMember.Datatype!.Variety == XmlSchemaDatatypeVariety.
Union
)
764
if (st.Datatype!.Variety == XmlSchemaDatatypeVariety.
Union
)
3097
if (baseDatatype.Variety == XmlSchemaDatatypeVariety.
Union
)
3099
if (derivedDatatype.Variety == XmlSchemaDatatypeVariety.
Union
)
System\Xml\Schema\XmlSchemaDataType.cs (1)
102
case XmlSchemaDatatypeVariety.
Union
:
System\Xml\Schema\XmlSchemaInfo.cs (1)
170
return _schemaType.Datatype.Variety == XmlSchemaDatatypeVariety.
Union
;
System\Xml\Schema\XmlSchemaValidator.cs (3)
633
if (datatype.Variety == XmlSchemaDatatypeVariety.
Union
&& typedVal != null)
1060
if (attdef.Datatype.Variety == XmlSchemaDatatypeVariety.
Union
)
1488
if (dtype.Variety == XmlSchemaDatatypeVariety.
Union
)
System\Xml\Schema\XsdValidator.cs (1)
733
if (dtype.Variety == XmlSchemaDatatypeVariety.
Union
)
System.Private.Xml.Linq (1)
System\Xml\Schema\XNodeValidator.cs (1)
99
if (st.Datatype.Variety == XmlSchemaDatatypeVariety.
Union
)