33 references to AnyType
System.Xml (33)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
568
return XmlSchemaComplexType.
AnyType
;
System\Xml\Schema\DataTypeImplementation.cs (1)
843
} while(complexType != null && complexType != XmlSchemaComplexType.
AnyType
);
System\Xml\Schema\Inference\Infer.cs (2)
671
if (ct == null || ct == XmlSchemaComplexType.
AnyType
) { //It was null or simple type, after processing attributes, this might have been set
1243
if (ct == null || ct == XmlSchemaComplexType.
AnyType
)
System\Xml\Schema\SchemaCollectionCompiler.cs (11)
160
this.schema.SchemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.
AnyType
);
227
if (complexType == null || (!complexType.IsAbstract && type != XmlSchemaComplexType.
AnyType
)) {
587
complexType.SetBaseSchemaType(XmlSchemaComplexType.
AnyType
);
588
CompileLocalAttributes(XmlSchemaComplexType.
AnyType
, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction);
823
if (baseType != null && baseType != XmlSchemaComplexType.
AnyType
&& complexType.DerivedBy == XmlSchemaDerivationMethod.Restriction) {
1425
(attribute.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.
AnyType
)) {
1446
(attributeValue.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.
AnyType
)) {
1835
xe.SetElementType(XmlSchemaComplexType.
AnyType
);
1836
decl = XmlSchemaComplexType.
AnyType
.ElementDecl.Clone();
1844
xe.SetElementType(XmlSchemaComplexType.
AnyType
);
1845
decl = XmlSchemaComplexType.
AnyType
.ElementDecl.Clone();
System\Xml\Schema\SchemaSetCompiler.cs (13)
152
schemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.
AnyType
);
154
schemaForSchema.SchemaTypes.Replace(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.
AnyType
);
655
complexType.SetBaseSchemaType(XmlSchemaComplexType.
AnyType
);
656
CompileLocalAttributes(XmlSchemaComplexType.
AnyType
, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction);
883
if (baseType != null && baseType != XmlSchemaComplexType.
AnyType
&& complexType.DerivedBy == XmlSchemaDerivationMethod.Restriction) {
906
else if (baseType == XmlSchemaComplexType.
AnyType
) { //The complex type itself is not explicitly derived by restriction but it could have local elements which have anonymous types that are derived by restriction
1704
(attr.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.
AnyType
)) {
1725
(attribute.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.
AnyType
)) {
1920
if (baseType == XmlSchemaComplexType.
AnyType
) {
2181
xe.SetElementType(XmlSchemaComplexType.
AnyType
);
2182
decl = XmlSchemaComplexType.
AnyType
.ElementDecl.Clone();
2190
xe.SetElementType(XmlSchemaComplexType.
AnyType
);
2191
decl = XmlSchemaComplexType.
AnyType
.ElementDecl.Clone();
System\Xml\Schema\XmlSchemaType.cs (5)
58
return XmlSchemaComplexType.
AnyType
;
71
if (qualifiedName.Equals(XmlSchemaComplexType.
AnyType
.QualifiedName)) {
72
return XmlSchemaComplexType.
AnyType
;
176
if (this == XmlSchemaComplexType.
AnyType
) {
261
if (baseType == XmlSchemaComplexType.
AnyType
) { //Not checking for restriction blocked since all types are implicitly derived by restriction from xs:anyType