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