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