42 references to AnyType
System.Private.Xml (42)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
632return XmlSchemaComplexType.AnyType;
System\Xml\Schema\DataTypeImplementation.cs (1)
917} while (complexType != null && complexType != XmlSchemaComplexType.AnyType);
System\Xml\Schema\Inference\Infer.cs (2)
653if (ct == null || ct == XmlSchemaComplexType.AnyType) 1229if (ct == null || ct == XmlSchemaComplexType.AnyType)
System\Xml\Schema\SchemaCollectionCompiler.cs (11)
197_schema!.SchemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 297if (complexType == null || (!complexType.IsAbstract && type != XmlSchemaComplexType.AnyType)) 745complexType.SetBaseSchemaType(XmlSchemaComplexType.AnyType); 746CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction); 1044if (baseType != null && baseType != XmlSchemaComplexType.AnyType && complexType.DerivedBy == XmlSchemaDerivationMethod.Restriction) 1797(attribute.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) 1823(attributeValue.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) 2235xe.SetElementType(XmlSchemaComplexType.AnyType); 2236decl = XmlSchemaComplexType.AnyType.ElementDecl!.Clone(); 2246xe.SetElementType(XmlSchemaComplexType.AnyType); 2247decl = XmlSchemaComplexType.AnyType.ElementDecl!.Clone();
System\Xml\Schema\SchemaSetCompiler.cs (13)
191_schemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 194_schemaForSchema.SchemaTypes.Replace(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 836complexType.SetBaseSchemaType(XmlSchemaComplexType.AnyType); 837CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction); 1129if (baseType != null && baseType != XmlSchemaComplexType.AnyType && complexType.DerivedBy == XmlSchemaDerivationMethod.Restriction) 1145else if (baseType == XmlSchemaComplexType.AnyType) 2157(attr.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) 2183(attribute.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) 2358if (baseType == XmlSchemaComplexType.AnyType) 2694xe.SetElementType(XmlSchemaComplexType.AnyType); 2695decl = XmlSchemaComplexType.AnyType.ElementDecl!.Clone(); 2705xe.SetElementType(XmlSchemaComplexType.AnyType); 2706decl = XmlSchemaComplexType.AnyType.ElementDecl!.Clone();
System\Xml\Schema\XmlSchemaType.cs (5)
54return XmlSchemaComplexType.AnyType; 67if (qualifiedName.Equals(XmlSchemaComplexType.AnyType.QualifiedName)) 69return XmlSchemaComplexType.AnyType; 181if (this == XmlSchemaComplexType.AnyType) 289if (baseType == XmlSchemaComplexType.AnyType)
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
812return XmlQueryTypeFactory.Type(nav.NodeType, XmlQualifiedNameTest.Wildcard, XmlSchemaComplexType.AnyType, false);
System\Xml\Xsl\XmlQueryType.cs (3)
518(baseSchemaType == XmlSchemaComplexType.AnyType || XmlSchemaType.IsDerivedFrom(SchemaType, baseSchemaType, /* except:*/XmlSchemaDerivationMethod.Empty)) && 585else if (SchemaType != XmlSchemaComplexType.AnyType) 620if (isXQ || (SchemaType != XmlSchemaComplexType.AnyType && SchemaType != DatatypeImplementation.AnySimpleType))
System\Xml\Xsl\XmlQueryTypeFactory.cs (5)
373s_builtInItemTypes[i] = new ItemType(typeCode, XmlQualifiedNameTest.Wildcard, XmlSchemaComplexType.AnyType, false, false, false); 383s_builtInItemTypes[i] = new ItemType(typeCode, XmlQualifiedNameTest.Wildcard, XmlSchemaComplexType.AnyType, false, false, true); 414NodeNotRtf = new ItemType(XmlTypeCode.Node, XmlQualifiedNameTest.Wildcard, XmlSchemaComplexType.AnyType, false, false, true); 464if (contentType == XmlSchemaComplexType.AnyType) 765_schemaType = XmlSchemaComplexType.AnyType;