28 instantiations of XmlSchemaComplexType
System.Data.Common (2)
System\Data\DataSet.cs (1)
3492XmlSchemaComplexType tempWSDL = new XmlSchemaComplexType();
System\Data\DataTable.cs (1)
6689XmlSchemaComplexType type = new XmlSchemaComplexType();
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\SchemaExporter.cs (8)
121XmlSchemaComplexType type = new XmlSchemaComplexType(); 363XmlSchemaComplexType type = new XmlSchemaComplexType(); 382XmlSchemaComplexType keyValueType = new XmlSchemaComplexType(); 466XmlSchemaComplexType type = new XmlSchemaComplexType(); 723XmlSchemaComplexType anyType = new XmlSchemaComplexType(); 737XmlSchemaComplexType anyElementType = new XmlSchemaComplexType(); 775XmlSchemaComplexType type = new XmlSchemaComplexType(); 790XmlSchemaComplexType type = new XmlSchemaComplexType();
System\Runtime\Serialization\SchemaImporter.cs (1)
144element.SchemaType = new XmlSchemaComplexType();
System.Private.Xml (17)
System\Xml\Schema\Inference\Infer.cs (2)
903ct = new XmlSchemaComplexType(); 1231ct = new XmlSchemaComplexType();
System\Xml\Schema\XmlSchemaComplexType.cs (2)
40var untypedAny = new XmlSchemaComplexType(); 56XmlSchemaComplexType localAnyType = new XmlSchemaComplexType();
System\Xml\Schema\XsdBuilder.cs (1)
1583builder._xso = builder._complexType = new XmlSchemaComplexType();
System\Xml\Serialization\XmlSchemaExporter.cs (9)
153XmlSchemaComplexType type = new XmlSchemaComplexType(); 198XmlSchemaComplexType type = new XmlSchemaComplexType(); 418XmlSchemaComplexType type = new XmlSchemaComplexType(); 439XmlSchemaComplexType type = new XmlSchemaComplexType(); 497XmlSchemaComplexType type = new XmlSchemaComplexType(); 523XmlSchemaComplexType type = new XmlSchemaComplexType(); 543XmlSchemaComplexType type = new XmlSchemaComplexType(); 604type = new XmlSchemaComplexType(); 977type = new XmlSchemaComplexType();
System\Xml\Serialization\XmlSchemaImporter.cs (2)
153XmlSchemaComplexType type = new XmlSchemaComplexType(); 226XmlSchemaComplexType type = new XmlSchemaComplexType();
System\Xml\Serialization\XmlSchemas.cs (1)
740XmlSchemaComplexType type = new XmlSchemaComplexType();
323 references to XmlSchemaComplexType
netstandard (1)
netstandard.cs (1)
2314[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaComplexType))]
System.Data.Common (35)
System\Data\DataSet.cs (3)
75private static XmlSchemaComplexType? s_schemaTypeForWSDL; 3485public static XmlSchemaComplexType GetDataSetSchema(XmlSchemaSet? schemaSet) 3492XmlSchemaComplexType tempWSDL = new XmlSchemaComplexType();
System\Data\DataTable.cs (2)
6687public static XmlSchemaComplexType GetDataTableSchema(XmlSchemaSet? schemaSet) 6689XmlSchemaComplexType type = new XmlSchemaComplexType();
System\Data\XMLSchema.cs (30)
544if (isChoice && pt.MaxOccurs > decimal.One && (((XmlSchemaElement)el).SchemaType is XmlSchemaComplexType)) // we know frominference condition 549if (!FromInference || (((XmlSchemaElement)el).MaxOccurs != decimal.One && !(((XmlSchemaElement)el).SchemaType is XmlSchemaComplexType))) 596XmlSchemaComplexType? ct = node.SchemaType as XmlSchemaComplexType; 629if (ct.BaseXmlSchemaType is XmlSchemaComplexType) 630ct = (XmlSchemaComplexType)ct.BaseXmlSchemaType; 747XmlSchemaComplexType ct = (XmlSchemaComplexType)FindTypeNode(_dsElement!)!; 910if (FromInference && pt is XmlSchemaChoice && pt.MaxOccurs > decimal.One && (el.SchemaType is XmlSchemaComplexType)) 1040internal void HandleComplexType(XmlSchemaComplexType ct, DataTable table, ArrayList tableChildren, bool isNillable) 1063if (!(ct.BaseXmlSchemaType is XmlSchemaComplexType && FromInference)) 1066if (ct.BaseXmlSchemaType is XmlSchemaComplexType) 1068HandleComplexType((XmlSchemaComplexType)ct.BaseXmlSchemaType, table, tableChildren, isNillable); 1085if (ct.BaseXmlSchemaType is XmlSchemaComplexType && FromInference) 1107if (ct.BaseXmlSchemaType is XmlSchemaComplexType) 1109HandleComplexType((XmlSchemaComplexType)ct.BaseXmlSchemaType, table, tableChildren, isNillable); 1143internal static XmlSchemaParticle? GetParticle(XmlSchemaComplexType ct) 1480XmlSchemaComplexType? ct = node.SchemaType as XmlSchemaComplexType; 1556internal DataTable InstantiateTable(XmlSchemaElement node, XmlSchemaComplexType typeNode, bool isRef) 2423else if (typeNode is XmlSchemaComplexType) 2622XmlSchemaComplexType ct = (XmlSchemaComplexType)FindTypeNode(node)!; 2650if (node.ElementSchemaType != null || !(((XmlSchemaElement)el).SchemaType is XmlSchemaComplexType)) 2681if (((XmlSchemaParticle)el).MaxOccurs > decimal.One && (((XmlSchemaElement)choiceEl).SchemaType is XmlSchemaComplexType)) // amir 2683if ((((XmlSchemaElement)choiceEl).RefName.Name.Length != 0) && (!FromInference && ((XmlSchemaElement)choiceEl).MaxOccurs != decimal.One && !(((XmlSchemaElement)choiceEl).SchemaType is XmlSchemaComplexType))) 2833if ((typeNode == null) || !(typeNode is XmlSchemaComplexType)) 2838XmlSchemaComplexType ctNode = (XmlSchemaComplexType)typeNode; 2863DataTable table = InstantiateTable(node, (XmlSchemaComplexType)typeNode!, (node.RefName != null)); // this is wrong , correct check should be node.RefName.IsEmpty
System.Private.DataContractSerialization (19)
System\Runtime\Serialization\SchemaExporter.cs (12)
121XmlSchemaComplexType type = new XmlSchemaComplexType(); 363XmlSchemaComplexType type = new XmlSchemaComplexType(); 382XmlSchemaComplexType keyValueType = new XmlSchemaComplexType(); 466XmlSchemaComplexType type = new XmlSchemaComplexType(); 491private static XmlSchemaComplexContentExtension CreateTypeContent(XmlSchemaComplexType type, XmlQualifiedName baseTypeName, XmlSchema schema) 714XmlSchemaComplexType defaultXmlType = CreateAnyType(); 721private static XmlSchemaComplexType CreateAnyType() 723XmlSchemaComplexType anyType = new XmlSchemaComplexType(); 735private static XmlSchemaComplexType CreateAnyElementType() 737XmlSchemaComplexType anyElementType = new XmlSchemaComplexType(); 775XmlSchemaComplexType type = new XmlSchemaComplexType(); 790XmlSchemaComplexType type = new XmlSchemaComplexType();
System\Runtime\Serialization\SchemaImporter.cs (7)
312if (type is XmlSchemaComplexType complexType) 447else if (type is XmlSchemaComplexType complexType) 716xmlDataContract.HasRoot = !IsXmlAnyElementType(xsdType as XmlSchemaComplexType); 733if (xsdType is not XmlSchemaComplexType complexType) 755private static bool IsXmlAnyElementType(XmlSchemaComplexType? xsdType) 778private static bool IsXmlAnyType(XmlSchemaComplexType xsdType) 1345private static void CheckComplexType(XmlQualifiedName typeName, XmlSchemaComplexType type)
System.Private.Xml (266)
System\Xml\Dom\DocumentSchemaValidator.cs (8)
553XmlSchemaComplexType? elementSchemaType = GetComplexType(schemaObject); 627return XmlSchemaComplexType.AnyTypeSkip; 632return XmlSchemaComplexType.AnyType; 640XmlSchemaComplexType? ancestorSchemaType = GetComplexType(ancestorType); 649private static XmlSchemaComplexType? GetComplexType(XmlSchemaObject? schemaObject) 657XmlSchemaComplexType? complexType; 660complexType = schemaElement.ElementSchemaType as XmlSchemaComplexType; 664complexType = schemaObject as XmlSchemaComplexType;
System\Xml\Schema\BaseProcessor.cs (1)
120else if (item is XmlSchemaComplexType)
System\Xml\Schema\DataTypeImplementation.cs (4)
904XmlSchemaComplexType? complexType; 905complexType = schemaType as XmlSchemaComplexType; 916complexType = complexType.BaseXmlSchemaType as XmlSchemaComplexType; 917} while (complexType != null && complexType != XmlSchemaComplexType.AnyType);
System\Xml\Schema\Inference\Infer.cs (12)
639XmlSchemaComplexType? ct = schemaType as XmlSchemaComplexType; 653if (ct == null || ct == XmlSchemaComplexType.AnyType) 655ct = xse.SchemaType as XmlSchemaComplexType; 979private static XmlSchemaSimpleContentExtension CheckSimpleContentExtension(XmlSchemaComplexType ct) 1029internal XmlSchemaElement FindMatchingElement(bool bCreatingNewType, XmlReader xtr, XmlSchemaComplexType ct, ref int lastUsedSeqItem, XmlSchema? parentSchema, bool setMaxoccurs) 1200XmlSchemaComplexType? ct = effectiveSchemaType as XmlSchemaComplexType; 1229if (ct == null || ct == XmlSchemaComplexType.AnyType) 1280private static void MoveAttributes(XmlSchemaSimpleContentExtension scExtension, XmlSchemaComplexType ct) 1290private static void MoveAttributes(XmlSchemaComplexType ct, XmlSchemaSimpleContentExtension simpleContentExtension, bool bCreatingNewType) 1397internal static void MakeExistingAttributesOptional(XmlSchemaComplexType ct, XmlSchemaObjectCollection? attributesInInstance)
System\Xml\Schema\Preprocessor.cs (7)
742else if (schemaItems[i] is XmlSchemaComplexType complexType) 893else if (items[i] is XmlSchemaComplexType complexType) 910else if (originalType is XmlSchemaComplexType) 1108private void CheckRefinedComplexType(XmlSchemaComplexType ctype) 1408if (element.SchemaType is XmlSchemaComplexType) 1410PreprocessComplexType((XmlSchemaComplexType)element.SchemaType, true); 1637private void PreprocessComplexType(XmlSchemaComplexType complexType, bool local)
System\Xml\Schema\SchemaCollectionCompiler.cs (65)
17private readonly Stack<XmlSchemaComplexType> _complexTypeStack = new Stack<XmlSchemaComplexType>(); 74if (type is XmlSchemaComplexType) 76CleanupComplexType((XmlSchemaComplexType)type); 116XmlSchemaComplexType? complextype; 129else if ((complextype = item as XmlSchemaComplexType) != null) 154XmlSchemaComplexType? complextype; 167else if ((complextype = schema.Items[i] as XmlSchemaComplexType) != null) 197_schema!.SchemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 216if (type is XmlSchemaComplexType) 218CompileComplexType((XmlSchemaComplexType)type); 251XmlSchemaComplexType type = _complexTypeStack.Pop(); 257if (type is XmlSchemaComplexType) 259CheckParticleDerivation((XmlSchemaComplexType)type); 265if (element!.ElementSchemaType is XmlSchemaComplexType && element.SchemaTypeName == XmlQualifiedName.Empty) 267CheckParticleDerivation((XmlSchemaComplexType)element.ElementSchemaType); 296XmlSchemaComplexType? complexType = type as XmlSchemaComplexType; 297if (complexType == null || (!complexType.IsAbstract && type != XmlSchemaComplexType.AnyType)) 328private static void CleanupComplexType(XmlSchemaComplexType complexType) 382XmlSchemaComplexType? complexType = element.SchemaType as XmlSchemaComplexType; 704private void CompileComplexType(XmlSchemaComplexType complexType) 745complexType.SetBaseSchemaType(XmlSchemaComplexType.AnyType); 746CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction); 801private void CompileSimpleContentExtension(XmlSchemaComplexType complexType, XmlSchemaSimpleContentExtension simpleExtension) 803XmlSchemaComplexType? baseType; 806baseType = (XmlSchemaComplexType)complexType.Redefined; 823baseType = bto as XmlSchemaComplexType; 840private void CompileSimpleContentRestriction(XmlSchemaComplexType complexType, XmlSchemaSimpleContentRestriction simpleRestriction) 842XmlSchemaComplexType? baseType; 846baseType = (XmlSchemaComplexType)complexType.Redefined; 925private void CompileComplexContentExtension(XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentExtension complexExtension) 927XmlSchemaComplexType? baseType; 930baseType = (XmlSchemaComplexType)complexType.Redefined; 991private void CompileComplexContentRestriction(XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentRestriction complexRestriction) 993XmlSchemaComplexType? baseType; 996baseType = (XmlSchemaComplexType)complexType.Redefined; 1041private void CheckParticleDerivation(XmlSchemaComplexType complexType) 1043XmlSchemaComplexType? baseType = complexType.BaseXmlSchemaType as XmlSchemaComplexType; 1044if (baseType != null && baseType != XmlSchemaComplexType.AnyType && complexType.DerivedBy == XmlSchemaDerivationMethod.Restriction) 1692private void PushComplexType(XmlSchemaComplexType complexType) 1697private static XmlSchemaContentType GetSchemaContentType(XmlSchemaComplexType complexType, XmlSchemaComplexContent? complexContent, XmlSchemaParticle particle) 1784private void CompileLocalAttributes(XmlSchemaComplexType? baseType, XmlSchemaComplexType derivedType, XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute? anyAttribute, XmlSchemaDerivationMethod derivedBy) 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(); 2253if (xe.ElementSchemaType is XmlSchemaComplexType complexType) 2274XmlSchemaComplexType? ct = xe.ElementSchemaType as XmlSchemaComplexType; 2343private ContentValidator CompileComplexContent(XmlSchemaComplexType complexType) 2412return XmlSchemaComplexType.AnyTypeContentValidator; 2417return XmlSchemaComplexType.AnyTypeContentValidator; 2574private void CompileParticleElements(XmlSchemaComplexType complexType, XmlSchemaParticle particle) 2602private void CompileCompexTypeElements(XmlSchemaComplexType complexType) 2646private XmlSchemaComplexType? GetComplexType(XmlQualifiedName name) 2648XmlSchemaComplexType? type = _schema!.SchemaTypes[name] as XmlSchemaComplexType; 2661if (type is XmlSchemaComplexType) 2663CompileComplexType((XmlSchemaComplexType)type);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (7)
549else if (schema.Items[i] is XmlSchemaComplexType complexType) 636else if (redefine.Items[i] is XmlSchemaComplexType complexType) 649if (type is XmlSchemaComplexType) 784private void CheckRefinedComplexType(XmlSchemaComplexType ctype) 1081if (element.SchemaType is XmlSchemaComplexType) 1083PreprocessComplexType((XmlSchemaComplexType)element.SchemaType, true); 1302private void PreprocessComplexType(XmlSchemaComplexType complexType, bool local)
System\Xml\Schema\SchemaSetCompiler.cs (65)
25private readonly Stack<XmlSchemaComplexType> _complexTypeStack = new Stack<XmlSchemaComplexType>(); 101XmlSchemaComplexType? ct = type as XmlSchemaComplexType; 191_schemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 194_schemaForSchema.SchemaTypes.Replace(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 210XmlSchemaComplexType? ct = type as XmlSchemaComplexType; 247XmlSchemaComplexType type = _complexTypeStack.Pop(); 255XmlSchemaComplexType? localType = type as XmlSchemaComplexType; 264XmlSchemaComplexType? localComplexType = element!.ElementSchemaType as XmlSchemaComplexType; 312private void CleanupComplexType(XmlSchemaComplexType complexType) 365CleanupComplexType((complexType.Redefined as XmlSchemaComplexType)!); 387XmlSchemaComplexType? complexType = element.SchemaType as XmlSchemaComplexType; 793private void CompileComplexType(XmlSchemaComplexType complexType) 836complexType.SetBaseSchemaType(XmlSchemaComplexType.AnyType); 837CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction); 879private void CompileSimpleContentExtension(XmlSchemaComplexType complexType, XmlSchemaSimpleContentExtension simpleExtension) 881XmlSchemaComplexType? baseType; 884baseType = (XmlSchemaComplexType)complexType.Redefined; 901baseType = bto as XmlSchemaComplexType; 920private void CompileSimpleContentRestriction(XmlSchemaComplexType complexType, XmlSchemaSimpleContentRestriction simpleRestriction) 922XmlSchemaComplexType? baseType; 926baseType = (XmlSchemaComplexType)complexType.Redefined; 1008private void CompileComplexContentExtension(XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentExtension complexExtension) 1010XmlSchemaComplexType? baseType; 1013baseType = (XmlSchemaComplexType)complexType.Redefined; 1079private void CompileComplexContentRestriction(XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentRestriction complexRestriction) 1081XmlSchemaComplexType? baseType; 1084baseType = (XmlSchemaComplexType)complexType.Redefined; 1125private void CheckParticleDerivation(XmlSchemaComplexType complexType) 1127XmlSchemaComplexType? baseType = complexType.BaseXmlSchemaType as XmlSchemaComplexType; 1129if (baseType != null && baseType != XmlSchemaComplexType.AnyType && complexType.DerivedBy == XmlSchemaDerivationMethod.Restriction) 1145else if (baseType == XmlSchemaComplexType.AnyType) 1154XmlSchemaComplexType? localComplexType = localElement.ElementSchemaType as XmlSchemaComplexType; 2043private void PushComplexType(XmlSchemaComplexType complexType) 2048private static XmlSchemaContentType GetSchemaContentType(XmlSchemaComplexType complexType, XmlSchemaComplexContent? complexContent, XmlSchemaParticle particle) 2144private void CompileLocalAttributes(XmlSchemaComplexType? baseType, XmlSchemaComplexType derivedType, XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute? anyAttribute, XmlSchemaDerivationMethod derivedBy) 2157(attr.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) 2183(attribute.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) 2356private static bool IsProcessContentsRestricted(XmlSchemaComplexType? baseType, XmlSchemaAnyAttribute derivedAttributeWildcard, XmlSchemaAnyAttribute baseAttributeWildcard) 2358if (baseType == XmlSchemaComplexType.AnyType) 2694xe.SetElementType(XmlSchemaComplexType.AnyType); 2695decl = XmlSchemaComplexType.AnyType.ElementDecl!.Clone(); 2705xe.SetElementType(XmlSchemaComplexType.AnyType); 2706decl = XmlSchemaComplexType.AnyType.ElementDecl!.Clone(); 2712if (xe.ElementSchemaType is XmlSchemaComplexType complexType) 2733XmlSchemaComplexType? ct = xe.ElementSchemaType as XmlSchemaComplexType; 2812private ContentValidator CompileComplexContent(XmlSchemaComplexType complexType) 2881return XmlSchemaComplexType.AnyTypeContentValidator; 2886return XmlSchemaComplexType.AnyTypeContentValidator; 2956private void CompileParticleElements(XmlSchemaComplexType complexType, XmlSchemaParticle particle) 3000private void CompileComplexTypeElements(XmlSchemaComplexType complexType) 3035private XmlSchemaComplexType? GetComplexType(XmlQualifiedName name) 3037XmlSchemaComplexType? type = _schemaTypes[name] as XmlSchemaComplexType; 3051if (type is XmlSchemaComplexType) 3053CompileComplexType((XmlSchemaComplexType)type);
System\Xml\Schema\XmlSchema.cs (3)
291XmlElement("complexType", typeof(XmlSchemaComplexType)), 464XmlSchemaComplexType? complexType; 468if ((complexType = _items[i] as XmlSchemaComplexType) != null)
System\Xml\Schema\XmlSchemaAttributeGroup.cs (2)
92if (XmlSchemaComplexType.HasAttributeQNameRef(_attributes)) 94newGroup._attributes = XmlSchemaComplexType.CloneAttributes(_attributes);
System\Xml\Schema\XmlSchemaComplexType.cs (12)
12private static readonly XmlSchemaComplexType s_anyTypeLax = CreateAnyType(XmlSchemaContentProcessing.Lax); 13private static readonly XmlSchemaComplexType s_anyTypeSkip = CreateAnyType(XmlSchemaContentProcessing.Skip); 14private static readonly XmlSchemaComplexType s_untypedAnyType = CreateUntypedAnyType(); 37private static XmlSchemaComplexType CreateUntypedAnyType() 40var untypedAny = new XmlSchemaComplexType(); 54private static XmlSchemaComplexType CreateAnyType(XmlSchemaContentProcessing processContents) 56XmlSchemaComplexType localAnyType = new XmlSchemaComplexType(); 98internal static XmlSchemaComplexType AnyType 104internal static XmlSchemaComplexType UntypedAnyType 110internal static XmlSchemaComplexType AnyTypeSkip 324XmlSchemaComplexType complexType = (XmlSchemaComplexType)MemberwiseClone();
System\Xml\Schema\XmlSchemaElement.cs (3)
137[XmlElement("complexType", typeof(XmlSchemaComplexType)), 289XmlSchemaComplexType? complexType = _type as XmlSchemaComplexType;
System\Xml\Schema\XmlSchemaGroup.cs (2)
81if (XmlSchemaComplexType.HasParticleRef(_particle, parentSchema)) 83newGroup._particle = XmlSchemaComplexType.CloneParticle(_particle, parentSchema) as XmlSchemaGroupBase;
System\Xml\Schema\XmlSchemaRedefine.cs (1)
22XmlElement("complexType", typeof(XmlSchemaComplexType)),
System\Xml\Schema\XmlSchemaSet.cs (1)
1397if (item is XmlSchemaComplexType)
System\Xml\Schema\XmlSchemaType.cs (9)
50public static XmlSchemaComplexType? GetBuiltInComplexType(XmlTypeCode typeCode) 54return XmlSchemaComplexType.AnyType; 63public static XmlSchemaComplexType? GetBuiltInComplexType(XmlQualifiedName qualifiedName) 67if (qualifiedName.Equals(XmlSchemaComplexType.AnyType.QualifiedName)) 69return XmlSchemaComplexType.AnyType; 72if (qualifiedName.Equals(XmlSchemaComplexType.UntypedAnyType.QualifiedName)) 74return XmlSchemaComplexType.UntypedAnyType; 181if (this == XmlSchemaComplexType.AnyType) 289if (baseType == XmlSchemaComplexType.AnyType)
System\Xml\Schema\XmlSchemaValidator.cs (2)
597XmlSchemaComplexType ct = (currentElementDecl.SchemaType as XmlSchemaComplexType)!;
System\Xml\Schema\XsdBuilder.cs (2)
642private XmlSchemaComplexType? _complexType; 1030_complexType = (XmlSchemaComplexType)container;
System\Xml\Serialization\ImportContext.cs (1)
269if (item is XmlSchemaComplexType ct)
System\Xml\Serialization\SchemaObjectWriter.cs (7)
74else if (o is XmlSchemaComplexType) 76return ((XmlSchemaComplexType)o).QualifiedName; 338if (t == typeof(XmlSchemaComplexType)) 340Write35_XmlSchemaComplexType((XmlSchemaComplexType)o); 799private void Write35_XmlSchemaComplexType(XmlSchemaComplexType o) 1017if (o.SchemaType is XmlSchemaComplexType) 1019Write35_XmlSchemaComplexType((XmlSchemaComplexType)o.SchemaType);
System\Xml\Serialization\XmlSchemaExporter.cs (18)
117XmlSchemaComplexType? complexType = schemaType as XmlSchemaComplexType; 153XmlSchemaComplexType type = new XmlSchemaComplexType(); 198XmlSchemaComplexType type = new XmlSchemaComplexType(); 418XmlSchemaComplexType type = new XmlSchemaComplexType(); 439XmlSchemaComplexType type = new XmlSchemaComplexType(); 497XmlSchemaComplexType type = new XmlSchemaComplexType(); 523XmlSchemaComplexType type = new XmlSchemaComplexType(); 541private XmlSchemaComplexType ExportMembersMapping(MembersMapping mapping, string? ns) 543XmlSchemaComplexType type = new XmlSchemaComplexType(); 600XmlSchemaComplexType? type = (XmlSchemaComplexType?)_types[currentMapping]; 667private void ExportAttributeAccessor(XmlSchemaComplexType type, AttributeAccessor? accessor, bool valueTypeOptional, string? ns) 972XmlSchemaComplexType? type = (XmlSchemaComplexType?)_types[mapping]; 1006model.IsMixed = XmlSchemaImporter.IsMixed((XmlSchemaComplexType)_types[mapping.BaseMapping]!); 1037private void ExportTypeMembers(XmlSchemaComplexType type, MemberMapping[] members, string name, string? ns, bool hasSimpleContent, bool openModel) 1185private static void AddXmlnsAnnotation(XmlSchemaComplexType type, string xmlnsMemberName)
System\Xml\Serialization\XmlSchemaImporter.cs (20)
153XmlSchemaComplexType type = new XmlSchemaComplexType(); 226XmlSchemaComplexType type = new XmlSchemaComplexType(); 345if (element.SchemaType is XmlSchemaComplexType) 346mapping = ImportType((XmlSchemaComplexType)element.SchemaType, ns, identifier, desiredMappingType, baseType); 427if (type is XmlSchemaComplexType) 429mapping = ImportType((XmlSchemaComplexType)type, name.Namespace, name.Name, desiredMappingType, baseType); 444private TypeMapping? ImportType(XmlSchemaComplexType type, string? typeNs, string identifier, Type desiredMappingType, Type? baseType) 550if (type is XmlSchemaComplexType) 552if (((XmlSchemaComplexType)type).IsAbstract) 693if (!(type is XmlSchemaComplexType)) 696XmlSchemaComplexType ct = (XmlSchemaComplexType)type; 713if (type is XmlSchemaComplexType) 716XmlSchemaComplexType ct = (XmlSchemaComplexType)type; 1262if (!(type is XmlSchemaComplexType)) return null; 1347if (refType is XmlSchemaComplexType) 1736if (sourceType is XmlSchemaComplexType) return null; 1953object? type = Schemas.Find(name, typeof(XmlSchemaComplexType)); 1956return (XmlSchemaComplexType?)type;
System\Xml\Serialization\XmlSchemas.cs (1)
740XmlSchemaComplexType type = new XmlSchemaComplexType();
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
801return XmlQueryTypeFactory.Type(nav.NodeType, XmlQualifiedNameTest.New(nav.LocalName, nav.NamespaceURI), XmlSchemaComplexType.UntypedAnyType, false); 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 (8)
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); 411UntypedDocument = new ItemType(XmlTypeCode.Document, XmlQualifiedNameTest.Wildcard, XmlSchemaComplexType.UntypedAnyType, false, false, true); 412UntypedElement = new ItemType(XmlTypeCode.Element, XmlQualifiedNameTest.Wildcard, XmlSchemaComplexType.UntypedAnyType, false, false, true); 414NodeNotRtf = new ItemType(XmlTypeCode.Node, XmlQualifiedNameTest.Wildcard, XmlSchemaComplexType.AnyType, false, false, true); 464if (contentType == XmlSchemaComplexType.AnyType) 468if (contentType == XmlSchemaComplexType.UntypedAnyType) 765_schemaType = XmlSchemaComplexType.AnyType;
System.Xml (1)
System.Xml.cs (1)
39[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaComplexType))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
38[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaComplexType))]