2 writes to variety
System.Xml (2)
System\Xml\Schema\DataTypeImplementation.cs (2)
357
dt.
variety
= XmlSchemaDatatypeVariety.List;
367
dt.
variety
= XmlSchemaDatatypeVariety.Union;
7 references to variety
System.Xml (7)
System\Xml\Schema\DataTypeImplementation.cs (7)
235
if (dt.
variety
== XmlSchemaDatatypeVariety.Atomic) {
350
if (
variety
== XmlSchemaDatatypeVariety.List) {
353
else if (
variety
== XmlSchemaDatatypeVariety.Union && !((Datatype_union)this).HasAtomicMembers()) {
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)
437
public override XmlSchemaDatatypeVariety Variety { get { return
variety
;}}