25 instantiations of XmlSchemaComplexType
dotnet-svcutil-lib (25)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (2)
921ct = new XmlSchemaComplexType(); 1254ct = new XmlSchemaComplexType();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (2)
51s_untypedAnyType = new XmlSchemaComplexType(); 64XmlSchemaComplexType localAnyType = new XmlSchemaComplexType();
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
1588builder._xso = builder._complexType = new XmlSchemaComplexType();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (3)
235type = new XmlSchemaComplexType(); 325type = new XmlSchemaComplexType(); 355type = new XmlSchemaComplexType();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
127XmlSchemaComplexType type = new XmlSchemaComplexType();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (9)
179XmlSchemaComplexType type = new XmlSchemaComplexType(); 225XmlSchemaComplexType type = new XmlSchemaComplexType(); 457XmlSchemaComplexType type = new XmlSchemaComplexType(); 478XmlSchemaComplexType type = new XmlSchemaComplexType(); 536XmlSchemaComplexType type = new XmlSchemaComplexType(); 562XmlSchemaComplexType type = new XmlSchemaComplexType(); 582XmlSchemaComplexType type = new XmlSchemaComplexType(); 643type = new XmlSchemaComplexType(); 1020type = new XmlSchemaComplexType();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
202XmlSchemaComplexType type = new XmlSchemaComplexType(); 277XmlSchemaComplexType type = new XmlSchemaComplexType();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
864XmlSchemaComplexType type = new XmlSchemaComplexType();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (2)
89XmlSchemaComplexType anyElementType = new XmlSchemaComplexType(); 101XmlSchemaComplexType anyType = new XmlSchemaComplexType();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
145element.SchemaType = new XmlSchemaComplexType();
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
11306o = new Microsoft.Xml.Schema.XmlSchemaComplexType();
313 references to XmlSchemaComplexType
dotnet-svcutil-lib (313)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (8)
581XmlSchemaComplexType elementSchemaType = GetComplexType(schemaObject); 654return XmlSchemaComplexType.AnyTypeSkip; 659return XmlSchemaComplexType.AnyType; 667XmlSchemaComplexType ancestorSchemaType = GetComplexType(ancestorType); 675private XmlSchemaComplexType GetComplexType(XmlSchemaObject schemaObject) 682XmlSchemaComplexType complexType = null; 685complexType = schemaElement.ElementSchemaType as XmlSchemaComplexType; 689complexType = schemaObject as XmlSchemaComplexType;
FrameworkFork\Microsoft.Xml\Xml\schema\BaseProcessor.cs (1)
134else if (item is XmlSchemaComplexType)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (4)
932XmlSchemaComplexType complexType; 933complexType = schemaType as XmlSchemaComplexType; 944complexType = complexType.BaseXmlSchemaType as XmlSchemaComplexType; 945} while (complexType != null && complexType != XmlSchemaComplexType.AnyType);
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (12)
657XmlSchemaComplexType ct = schemaType as XmlSchemaComplexType; 671if (ct == null || ct == XmlSchemaComplexType.AnyType) 673ct = xse.SchemaType as XmlSchemaComplexType; 998private XmlSchemaSimpleContentExtension CheckSimpleContentExtension(XmlSchemaComplexType ct) 1053internal XmlSchemaElement FindMatchingElement(bool bCreatingNewType, XmlReader xtr, XmlSchemaComplexType ct, ref int lastUsedSeqItem, ref bool bParticleChanged, XmlSchema parentSchema, bool setMaxoccurs) 1223XmlSchemaComplexType ct = effectiveSchemaType as XmlSchemaComplexType; 1252if (ct == null || ct == XmlSchemaComplexType.AnyType) 1303private void MoveAttributes(XmlSchemaSimpleContentExtension scExtension, XmlSchemaComplexType ct) 1313private void MoveAttributes(XmlSchemaComplexType ct, XmlSchemaSimpleContentExtension simpleContentExtension, bool bCreatingNewType) 1416internal void MakeExistingAttributesOptional(XmlSchemaComplexType ct, XmlSchemaObjectCollection attributesInInstance)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (11)
770else if (schemaItems[i] is XmlSchemaComplexType) 772XmlSchemaComplexType complexType = (XmlSchemaComplexType)schemaItems[i]; 927else if (items[i] is XmlSchemaComplexType) 929XmlSchemaComplexType complexType = (XmlSchemaComplexType)items[i]; 945else if (originalType is XmlSchemaComplexType) 1143private void CheckRefinedComplexType(XmlSchemaComplexType ctype) 1441if (element.SchemaType is XmlSchemaComplexType) 1443PreprocessComplexType((XmlSchemaComplexType)element.SchemaType, true); 1669private void PreprocessComplexType(XmlSchemaComplexType complexType, bool local)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (66)
71if (type is XmlSchemaComplexType) 73CleanupComplexType((XmlSchemaComplexType)type); 112XmlSchemaComplexType complextype; 125else if ((complextype = item as XmlSchemaComplexType) != null) 150XmlSchemaComplexType complextype; 163else if ((complextype = schema.Items[i] as XmlSchemaComplexType) != null) 192_schema.SchemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 208if (type is XmlSchemaComplexType) 210CompileComplexType((XmlSchemaComplexType)type); 240XmlSchemaComplexType type = (XmlSchemaComplexType)_complexTypeStack.Pop(); 245if (type is XmlSchemaComplexType) 247CheckParticleDerivation((XmlSchemaComplexType)type); 252if (element.ElementSchemaType is XmlSchemaComplexType && element.SchemaTypeName == XmlQualifiedName.Empty) 254CheckParticleDerivation((XmlSchemaComplexType)element.ElementSchemaType); 280XmlSchemaComplexType complexType = type as XmlSchemaComplexType; 281if (complexType == null || (!complexType.IsAbstract && type != XmlSchemaComplexType.AnyType)) 315private static void CleanupComplexType(XmlSchemaComplexType complexType) 371XmlSchemaComplexType complexType = element.SchemaType as XmlSchemaComplexType; 694private void CompileComplexType(XmlSchemaComplexType complexType) 736complexType.SetBaseSchemaType(XmlSchemaComplexType.AnyType); 737CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction); 792private void CompileSimpleContentExtension(XmlSchemaComplexType complexType, XmlSchemaSimpleContentExtension simpleExtension) 794XmlSchemaComplexType baseType = null; 797baseType = (XmlSchemaComplexType)complexType.Redefined; 814baseType = bto as XmlSchemaComplexType; 831private void CompileSimpleContentRestriction(XmlSchemaComplexType complexType, XmlSchemaSimpleContentRestriction simpleRestriction) 833XmlSchemaComplexType baseType = null; 837baseType = (XmlSchemaComplexType)complexType.Redefined; 916private void CompileComplexContentExtension(XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentExtension complexExtension) 918XmlSchemaComplexType baseType = null; 921baseType = (XmlSchemaComplexType)complexType.Redefined; 982private void CompileComplexContentRestriction(XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentRestriction complexRestriction) 984XmlSchemaComplexType baseType = null; 987baseType = (XmlSchemaComplexType)complexType.Redefined; 1030private void CheckParticleDerivation(XmlSchemaComplexType complexType) 1032XmlSchemaComplexType baseType = complexType.BaseXmlSchemaType as XmlSchemaComplexType; 1033if (baseType != null && baseType != XmlSchemaComplexType.AnyType && complexType.DerivedBy == XmlSchemaDerivationMethod.Restriction) 1694private void PushComplexType(XmlSchemaComplexType complexType) 1699private XmlSchemaContentType GetSchemaContentType(XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaParticle particle) 1785private void CompileLocalAttributes(XmlSchemaComplexType baseType, XmlSchemaComplexType derivedType, XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute, XmlSchemaDerivationMethod derivedBy) 1798(attribute.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) 1824(attributeValue.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) 2316xe.SetElementType(XmlSchemaComplexType.AnyType); 2317decl = XmlSchemaComplexType.AnyType.ElementDecl.Clone(); 2327xe.SetElementType(XmlSchemaComplexType.AnyType); 2328decl = XmlSchemaComplexType.AnyType.ElementDecl.Clone(); 2334if (xe.ElementSchemaType is XmlSchemaComplexType) 2336XmlSchemaComplexType complexType = (XmlSchemaComplexType)xe.ElementSchemaType; 2356XmlSchemaComplexType ct = xe.ElementSchemaType as XmlSchemaComplexType; 2427private ContentValidator CompileComplexContent(XmlSchemaComplexType complexType) 2501return XmlSchemaComplexType.AnyTypeContentValidator; 2506return XmlSchemaComplexType.AnyTypeContentValidator; 2667private void CompileParticleElements(XmlSchemaComplexType complexType, XmlSchemaParticle particle) 2696private void CompileCompexTypeElements(XmlSchemaComplexType complexType) 2737private XmlSchemaComplexType GetComplexType(XmlQualifiedName name) 2739XmlSchemaComplexType type = _schema.SchemaTypes[name] as XmlSchemaComplexType; 2752if (type is XmlSchemaComplexType) 2754CompileComplexType((XmlSchemaComplexType)type);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (11)
551else if (schema.Items[i] is XmlSchemaComplexType) 553XmlSchemaComplexType complexType = (XmlSchemaComplexType)schema.Items[i]; 644else if (redefine.Items[i] is XmlSchemaComplexType) 646XmlSchemaComplexType complexType = (XmlSchemaComplexType)redefine.Items[i]; 658if (type is XmlSchemaComplexType) 792private void CheckRefinedComplexType(XmlSchemaComplexType ctype) 1088if (element.SchemaType is XmlSchemaComplexType) 1090PreprocessComplexType((XmlSchemaComplexType)element.SchemaType, true); 1312private void PreprocessComplexType(XmlSchemaComplexType complexType, bool local)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (66)
94XmlSchemaComplexType ct = type as XmlSchemaComplexType; 184_schemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 187_schemaForSchema.SchemaTypes.Replace(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 201XmlSchemaComplexType ct = type as XmlSchemaComplexType; 234XmlSchemaComplexType type = (XmlSchemaComplexType)_complexTypeStack.Pop(); 242XmlSchemaComplexType localType = type as XmlSchemaComplexType; 251XmlSchemaComplexType localComplexType = element.ElementSchemaType as XmlSchemaComplexType; 297private void CleanupComplexType(XmlSchemaComplexType complexType) 351CleanupComplexType(complexType.Redefined as XmlSchemaComplexType); 373XmlSchemaComplexType complexType = element.SchemaType as XmlSchemaComplexType; 779private void CompileComplexType(XmlSchemaComplexType complexType) 823complexType.SetBaseSchemaType(XmlSchemaComplexType.AnyType); 824CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.Restriction); 870private void CompileSimpleContentExtension(XmlSchemaComplexType complexType, XmlSchemaSimpleContentExtension simpleExtension) 872XmlSchemaComplexType baseType = null; 875baseType = (XmlSchemaComplexType)complexType.Redefined; 892baseType = bto as XmlSchemaComplexType; 909private void CompileSimpleContentRestriction(XmlSchemaComplexType complexType, XmlSchemaSimpleContentRestriction simpleRestriction) 911XmlSchemaComplexType baseType = null; 915baseType = (XmlSchemaComplexType)complexType.Redefined; 994private void CompileComplexContentExtension(XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentExtension complexExtension) 996XmlSchemaComplexType baseType = null; 999baseType = (XmlSchemaComplexType)complexType.Redefined; 1060private void CompileComplexContentRestriction(XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentRestriction complexRestriction) 1062XmlSchemaComplexType baseType = null; 1065baseType = (XmlSchemaComplexType)complexType.Redefined; 1106private void CheckParticleDerivation(XmlSchemaComplexType complexType) 1108XmlSchemaComplexType baseType = complexType.BaseXmlSchemaType as XmlSchemaComplexType; 1110if (baseType != null && baseType != XmlSchemaComplexType.AnyType && complexType.DerivedBy == XmlSchemaDerivationMethod.Restriction) 1139else if (baseType == XmlSchemaComplexType.AnyType) 1147XmlSchemaComplexType localComplexType = localElement.ElementSchemaType as XmlSchemaComplexType; 2029private void PushComplexType(XmlSchemaComplexType complexType) 2034private XmlSchemaContentType GetSchemaContentType(XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaParticle particle) 2128private void CompileLocalAttributes(XmlSchemaComplexType baseType, XmlSchemaComplexType derivedType, XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute, XmlSchemaDerivationMethod derivedBy) 2141(attr.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) 2167(attribute.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) 2413private bool IsProcessContentsRestricted(XmlSchemaComplexType baseType, XmlSchemaAnyAttribute derivedAttributeWildcard, XmlSchemaAnyAttribute baseAttributeWildcard) 2415if (baseType == XmlSchemaComplexType.AnyType) 2747xe.SetElementType(XmlSchemaComplexType.AnyType); 2748decl = XmlSchemaComplexType.AnyType.ElementDecl.Clone(); 2758xe.SetElementType(XmlSchemaComplexType.AnyType); 2759decl = XmlSchemaComplexType.AnyType.ElementDecl.Clone(); 2765if (xe.ElementSchemaType is XmlSchemaComplexType) 2767XmlSchemaComplexType complexType = (XmlSchemaComplexType)xe.ElementSchemaType; 2788XmlSchemaComplexType ct = xe.ElementSchemaType as XmlSchemaComplexType; 2870private ContentValidator CompileComplexContent(XmlSchemaComplexType complexType) 2944return XmlSchemaComplexType.AnyTypeContentValidator; 2949return XmlSchemaComplexType.AnyTypeContentValidator; 3112private void CompileParticleElements(XmlSchemaComplexType complexType, XmlSchemaParticle particle) 3158private void CompileComplexTypeElements(XmlSchemaComplexType complexType) 3193private XmlSchemaComplexType GetComplexType(XmlQualifiedName name) 3195XmlSchemaComplexType type = _schemaTypes[name] as XmlSchemaComplexType; 3208if (type is XmlSchemaComplexType) 3210CompileComplexType((XmlSchemaComplexType)type);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (3)
363XmlElement("complexType", typeof(XmlSchemaComplexType)), 615XmlSchemaComplexType complexType; 619if ((complexType = _items[i] as XmlSchemaComplexType) != null)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAttributeGroup.cs (2)
124if (XmlSchemaComplexType.HasAttributeQNameRef(_attributes)) 126newGroup._attributes = XmlSchemaComplexType.CloneAttributes(_attributes);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (10)
34private static XmlSchemaComplexType s_anyTypeLax; 35private static XmlSchemaComplexType s_anyTypeSkip; 36private static XmlSchemaComplexType s_untypedAnyType; 62private static XmlSchemaComplexType CreateAnyType(XmlSchemaContentProcessing processContents) 64XmlSchemaComplexType localAnyType = new XmlSchemaComplexType(); 110internal static XmlSchemaComplexType AnyType 116internal static XmlSchemaComplexType UntypedAnyType 122internal static XmlSchemaComplexType AnyTypeSkip 414XmlSchemaComplexType complexType = (XmlSchemaComplexType)MemberwiseClone();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaElement.cs (3)
190[XmlElement("complexType", typeof(XmlSchemaComplexType)), 374XmlSchemaComplexType complexType = _type as XmlSchemaComplexType;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaGroup.cs (2)
98if (XmlSchemaComplexType.HasParticleRef(_particle, parentSchema)) 100newGroup._particle = XmlSchemaComplexType.CloneParticle(_particle, parentSchema) as XmlSchemaGroupBase;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaRedefine.cs (1)
40XmlElement("complexType", typeof(XmlSchemaComplexType)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (1)
1557if (item is XmlSchemaComplexType)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaType.cs (9)
61public static XmlSchemaComplexType GetBuiltInComplexType(XmlTypeCode typeCode) 65return XmlSchemaComplexType.AnyType; 74public static XmlSchemaComplexType GetBuiltInComplexType(XmlQualifiedName qualifiedName) 80if (qualifiedName.Equals(XmlSchemaComplexType.AnyType.QualifiedName)) 82return XmlSchemaComplexType.AnyType; 84if (qualifiedName.Equals(XmlSchemaComplexType.UntypedAnyType.QualifiedName)) 86return XmlSchemaComplexType.UntypedAnyType; 200if (this == XmlSchemaComplexType.AnyType) 306if (baseType == XmlSchemaComplexType.AnyType)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (2)
639XmlSchemaComplexType ct = currentElementDecl.SchemaType as XmlSchemaComplexType;
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (2)
651private XmlSchemaComplexType _complexType; 1038_complexType = (XmlSchemaComplexType)container;
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (3)
343if (item is XmlSchemaComplexType) 345XmlSchemaComplexType ct = (XmlSchemaComplexType)item;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (7)
73else if (o is XmlSchemaComplexType) 75return ((XmlSchemaComplexType)o).QualifiedName; 339if (t == typeof(XmlSchemaComplexType)) 341Write35_XmlSchemaComplexType((XmlSchemaComplexType)o); 800private void Write35_XmlSchemaComplexType(XmlSchemaComplexType o) 1019if (o.SchemaType is XmlSchemaComplexType) 1021Write35_XmlSchemaComplexType((XmlSchemaComplexType)o.SchemaType);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (7)
231XmlSchemaComplexType type = (XmlSchemaComplexType)_types[mapping]; 320XmlSchemaComplexType type = (XmlSchemaComplexType)_types[mapping]; 351XmlSchemaComplexType type = (XmlSchemaComplexType)_types[mapping]; 368private void ExportTypeMembers(XmlSchemaComplexType type, MemberMapping[] members, string ns)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (12)
127XmlSchemaComplexType type = new XmlSchemaComplexType(); 197if (element.SchemaType is XmlSchemaComplexType) 199mapping = ImportType((XmlSchemaComplexType)element.SchemaType, ns, false); 256if (type is XmlSchemaComplexType) 257mapping = ImportType((XmlSchemaComplexType)type, name.Namespace, excludeFromImport); 268private TypeMapping ImportType(XmlSchemaComplexType type, string typeNs, bool excludeFromImport) 282private TypeMapping ImportAnyType(XmlSchemaComplexType type, string typeNs) 295private StructMapping ImportStructType(XmlSchemaComplexType type, string typeNs, bool excludeFromImport) 343private MemberMapping[] ImportTypeMembers(XmlSchemaComplexType type, string typeNs, CodeIdentifiers members) 468XmlSchemaContentModel model = ((XmlSchemaComplexType)type).ContentModel; 730object type = Schemas.Find(name, typeof(XmlSchemaComplexType)); 745object type = Schemas.Find(name, typeof(XmlSchemaComplexType));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (17)
141XmlSchemaComplexType complexType = schemaType as XmlSchemaComplexType; 179XmlSchemaComplexType type = new XmlSchemaComplexType(); 225XmlSchemaComplexType type = new XmlSchemaComplexType(); 457XmlSchemaComplexType type = new XmlSchemaComplexType(); 478XmlSchemaComplexType type = new XmlSchemaComplexType(); 536XmlSchemaComplexType type = new XmlSchemaComplexType(); 562XmlSchemaComplexType type = new XmlSchemaComplexType(); 582XmlSchemaComplexType type = new XmlSchemaComplexType(); 639XmlSchemaComplexType type = (XmlSchemaComplexType)_types[currentMapping]; 706private void ExportAttributeAccessor(XmlSchemaComplexType type, AttributeAccessor accessor, bool valueTypeOptional, string ns) 1015XmlSchemaComplexType type = (XmlSchemaComplexType)_types[mapping]; 1049model.IsMixed = XmlSchemaImporter.IsMixed((XmlSchemaComplexType)_types[mapping.BaseMapping]); 1080private void ExportTypeMembers(XmlSchemaComplexType type, MemberMapping[] members, string name, string ns, bool hasSimpleContent, bool openModel) 1228private void AddXmlnsAnnotation(XmlSchemaComplexType type, string xmlnsMemberName)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (20)
202XmlSchemaComplexType type = new XmlSchemaComplexType(); 277XmlSchemaComplexType type = new XmlSchemaComplexType(); 390if (element.SchemaType is XmlSchemaComplexType) 391mapping = ImportType((XmlSchemaComplexType)element.SchemaType, ns, identifier, desiredMappingType, baseType, TypeFlags.CanBeElementValue); 538if (type is XmlSchemaComplexType) 540mapping = ImportType((XmlSchemaComplexType)type, name.Namespace, name.Name, desiredMappingType, baseType, flags); 553private TypeMapping ImportType(XmlSchemaComplexType type, string typeNs, string identifier, Type desiredMappingType, Type baseType, TypeFlags flags) 655if (type is XmlSchemaComplexType) 657if (((XmlSchemaComplexType)type).IsAbstract) 794if (!(type is XmlSchemaComplexType)) 797XmlSchemaComplexType ct = (XmlSchemaComplexType)type; 814if (type is XmlSchemaComplexType) 817XmlSchemaComplexType ct = (XmlSchemaComplexType)type; 1364if (!(type is XmlSchemaComplexType)) return null; 1450if (refType is XmlSchemaComplexType) 1838if (sourceType is XmlSchemaComplexType) return null; 2045object type = Schemas.Find(name, typeof(XmlSchemaComplexType)); 2048return (XmlSchemaComplexType)type;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
864XmlSchemaComplexType type = new XmlSchemaComplexType();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (4)
87private static XmlSchemaComplexType CreateAnyElementType() 89XmlSchemaComplexType anyElementType = new XmlSchemaComplexType(); 99private static XmlSchemaComplexType CreateAnyType() 101XmlSchemaComplexType anyType = new XmlSchemaComplexType();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (11)
317XmlSchemaComplexType complexType = type as XmlSchemaComplexType; 450else if (type is XmlSchemaComplexType) 452XmlSchemaComplexType complexType = (XmlSchemaComplexType)type; 724xmlDataContract.HasRoot = !IsXmlAnyElementType(xsdType as XmlSchemaComplexType); 746XmlSchemaComplexType complexType = xsdType as XmlSchemaComplexType; 769private bool IsXmlAnyElementType(XmlSchemaComplexType xsdType) 791private bool IsXmlAnyType(XmlSchemaComplexType xsdType) 1353private void CheckComplexType(XmlQualifiedName typeName, XmlSchemaComplexType type)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (7)
654XmlSchemaComplexType complexType = GetElementComplexType(part.Element, _allSchemas, out ns, out elementFormDefault); 1244private static XmlSchemaComplexType GetElementComplexType(XmlQualifiedName elementName, XmlSchemaSet schemaSet, out string ns, out XmlSchemaForm elementFormDefault) 1269return schemaType as XmlSchemaComplexType; 1272private static XmlSchemaSequence GetRootSequence(XmlSchemaComplexType complexType) 1592XmlSchemaComplexType complexType = GetElementComplexType(elementName, schemaSet, out ns, out elementFormDefault); 1643XmlSchemaComplexType complexType = GetElementComplexType(elementName, schemaSet, out ns, out elementFormDefault); 1971XmlSchemaComplexType complexType = GetElementComplexType(elementName, schemaSet, out ns, out elementFormDefault);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (10)
2388else if (ai is Microsoft.Xml.Schema.XmlSchemaComplexType) 2390Write62_XmlSchemaComplexType(@"complexType", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaComplexType)ai), false, false); 2874if (o.@SchemaType is Microsoft.Xml.Schema.XmlSchemaComplexType) 2876Write62_XmlSchemaComplexType(@"complexType", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaComplexType)o.@SchemaType), false, false); 3919private void Write62_XmlSchemaComplexType(string n, string ns, Microsoft.Xml.Schema.XmlSchemaComplexType o, bool isNullable, bool needType) 3929if (t == typeof(Microsoft.Xml.Schema.XmlSchemaComplexType)) 5086else if (ai is Microsoft.Xml.Schema.XmlSchemaComplexType) 5088Write62_XmlSchemaComplexType(@"complexType", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaComplexType)ai), false, false); 11290private Microsoft.Xml.Schema.XmlSchemaComplexType Read62_XmlSchemaComplexType(bool isNullable, bool checkType) 11305Microsoft.Xml.Schema.XmlSchemaComplexType o;