52 references to XmlSchemaDatatypeVariety
System.Data.SqlXml (3)
System\Xml\Xsl\XmlQueryTypeFactory.cs (3)
45
if (schemaType.Datatype.Variety ==
XmlSchemaDatatypeVariety
.Atomic) {
423
Debug.Assert(schemaType.Datatype.Variety ==
XmlSchemaDatatypeVariety
.Atomic, "List or Union Xsd types should have been handled by caller.");
493
Debug.Assert(!IsAtomicValue || schemaType.Datatype.Variety ==
XmlSchemaDatatypeVariety
.Atomic);
System.Xml (48)
System\Xml\Core\XsdValidatingReader.cs (2)
2135
if (xmlType.Datatype.Variety ==
XmlSchemaDatatypeVariety
.List) {
2137
if (listType.ItemType.Variety ==
XmlSchemaDatatypeVariety
.Union) {
System\Xml\Dom\DocumentSchemaValidator.cs (1)
408
if (attributeDef.Datatype.Variety ==
XmlSchemaDatatypeVariety
.Union) {
System\Xml\Schema\ConstraintStruct.cs (1)
215
if (xsdtype.Variety ==
XmlSchemaDatatypeVariety
.List ||
System\Xml\Schema\DataTypeImplementation.cs (17)
94
private
XmlSchemaDatatypeVariety
variety =
XmlSchemaDatatypeVariety
.Atomic;
183
if (derivedType.Datatype.Variety ==
XmlSchemaDatatypeVariety
.Atomic) { //Content is restriction
190
if (derivedType.Datatype.Variety ==
XmlSchemaDatatypeVariety
.List) {
235
if (dt.variety ==
XmlSchemaDatatypeVariety
.Atomic) {
350
if (variety ==
XmlSchemaDatatypeVariety
.List) {
353
else if (variety ==
XmlSchemaDatatypeVariety
.Union && !((Datatype_union)this).HasAtomicMembers()) {
357
dt.variety =
XmlSchemaDatatypeVariety
.List;
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)
437
public override
XmlSchemaDatatypeVariety
Variety { get { return variety;}}
487
if (this.Variety ==
XmlSchemaDatatypeVariety
.Union) {
1001
if (itemType.Variety ==
XmlSchemaDatatypeVariety
.Union) {
1096
if (types[i].Datatype.Variety ==
XmlSchemaDatatypeVariety
.List) {
System\Xml\Schema\DtdValidator.cs (2)
302
if (dtype.Variety ==
XmlSchemaDatatypeVariety
.List) {
484
if (dtype.Variety ==
XmlSchemaDatatypeVariety
.List) {
System\Xml\Schema\FacetChecker.cs (2)
692
case
XmlSchemaDatatypeVariety
.List:
696
case
XmlSchemaDatatypeVariety
.Atomic:
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\XdrValidator.cs (2)
401
if (dtype.Variety ==
XmlSchemaDatatypeVariety
.List) {
482
if (dtype.Variety ==
XmlSchemaDatatypeVariety
.List) {
System\Xml\Schema\XmlSchemaDataType.cs (5)
45
public virtual
XmlSchemaDatatypeVariety
Variety { get { return
XmlSchemaDatatypeVariety
.Atomic; } }
131
case
XmlSchemaDatatypeVariety
.List:
140
case
XmlSchemaDatatypeVariety
.Union:
144
case
XmlSchemaDatatypeVariety
.Atomic:
System\Xml\Schema\XmlSchemaInfo.cs (1)
136
return schemaType.Datatype.Variety ==
XmlSchemaDatatypeVariety
.Union;
System\Xml\Schema\XmlSchemaValidator.cs (4)
584
if (datatype.Variety ==
XmlSchemaDatatypeVariety
.Union && typedVal != null) { //Unpack the union
921
if (attdef.Datatype.Variety ==
XmlSchemaDatatypeVariety
.Union) {
1264
if (dtype.Variety ==
XmlSchemaDatatypeVariety
.Union) {
1677
if (dtype.Variety ==
XmlSchemaDatatypeVariety
.List) {
System\Xml\Schema\XmlValueConverter.cs (3)
290
Debug.Assert(schemaType.Datatype.Variety !=
XmlSchemaDatatypeVariety
.List, "schemaType must be list's item type, not list itself");
3325
if (memberTypes[i].Datatype.Variety ==
XmlSchemaDatatypeVariety
.List)
3327
else if (memberTypes[i].Datatype.Variety ==
XmlSchemaDatatypeVariety
.Atomic)
System\Xml\Schema\XsdValidator.cs (2)
595
if (dtype.Variety ==
XmlSchemaDatatypeVariety
.List) {
615
if (dtype.Variety ==
XmlSchemaDatatypeVariety
.Union) {
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
85
if (st.Datatype.Variety ==
XmlSchemaDatatypeVariety
.Union) {