Base:
property
Content
System.Xml.Schema.XmlSchemaContentModel.Content
5 writes to Content
System.Private.Xml (5)
System\Xml\Schema\XmlSchemaComplexType.cs (2)
368
newComplexContent.
Content
= newComplexExt;
381
newComplexContent.
Content
= newComplexRest;
System\Xml\Schema\XsdBuilder.cs (2)
1672
builder._complexContent.
Content
= builder._complexContentExtension;
1691
builder._complexContent!.
Content
= builder._complexContentRestriction;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1005
model.
Content
= extension;
39 references to Content
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
1060
XmlSchemaAnnotated? cContent = ((XmlSchemaComplexContent)(ct.ContentModel)).
Content
;
1149
XmlSchemaAnnotated cContent = ((XmlSchemaComplexContent)(ct.ContentModel)).
Content
!;
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\SchemaImporter.cs (3)
318
if (complexContent.
Content
is XmlSchemaComplexContentExtension extension)
464
if (complexContent.
Content
is XmlSchemaComplexContentExtension extension)
468
else if (complexContent.
Content
is XmlSchemaComplexContentRestriction restriction)
System.Private.Xml (34)
System\Xml\Schema\Preprocessor.cs (8)
1116
if (content.
Content
is XmlSchemaComplexContentRestriction)
1118
baseName = ((XmlSchemaComplexContentRestriction)content.
Content
).BaseTypeName;
1122
baseName = ((XmlSchemaComplexContentExtension)content.
Content
!).BaseTypeName;
1762
if (content.
Content
== null)
1779
SetParent(content.
Content
, content); //complexcontent extension / restriction
1780
PreprocessAnnotation(content.
Content
); //Annotation child of extension / restriction
1782
if (content.
Content
is XmlSchemaComplexContentExtension contentExtension)
1802
XmlSchemaComplexContentRestriction contentRestriction = (XmlSchemaComplexContentRestriction)content.
Content
;
System\Xml\Schema\SchemaCollectionCompiler.cs (6)
347
if (complexContent.
Content
is XmlSchemaComplexContentExtension)
349
XmlSchemaComplexContentExtension complexExtension = (XmlSchemaComplexContentExtension)complexContent.
Content
!;
355
XmlSchemaComplexContentRestriction complexRestriction = (XmlSchemaComplexContentRestriction)complexContent.
Content
!;
733
if (complexContent.
Content
is XmlSchemaComplexContentExtension)
735
CompileComplexContentExtension(complexType, complexContent, (XmlSchemaComplexContentExtension)complexContent.
Content
);
739
CompileComplexContentRestriction(complexType, complexContent, (XmlSchemaComplexContentRestriction)complexContent.
Content
!);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (8)
792
if (content.
Content
is XmlSchemaComplexContentRestriction)
794
baseName = ((XmlSchemaComplexContentRestriction)content.
Content
).BaseTypeName;
798
baseName = ((XmlSchemaComplexContentExtension)content.
Content
!).BaseTypeName;
1427
if (content.
Content
== null)
1444
SetParent(content.
Content
, content); //complexcontent extension / restriction
1445
PreprocessAnnotation(content.
Content
); //Annotation child of extension / restriction
1447
if (content.
Content
is XmlSchemaComplexContentExtension contentExtension)
1467
XmlSchemaComplexContentRestriction contentRestriction = (XmlSchemaComplexContentRestriction)content.
Content
;
System\Xml\Schema\SchemaSetCompiler.cs (5)
336
if (complexContent.
Content
is XmlSchemaComplexContentExtension complexExtension)
343
XmlSchemaComplexContentRestriction complexRestriction = (XmlSchemaComplexContentRestriction)complexContent.
Content
!;
824
if (complexContent.
Content
is XmlSchemaComplexContentExtension)
826
CompileComplexContentExtension(complexType, complexContent, (XmlSchemaComplexContentExtension)complexContent.
Content
);
830
CompileComplexContentRestriction(complexType, complexContent, (XmlSchemaComplexContentRestriction)complexContent.
Content
!);
System\Xml\Schema\XmlSchemaComplexType.cs (2)
358
XmlSchemaComplexContentExtension? complexExt = complexContent.
Content
as XmlSchemaComplexContentExtension;
372
XmlSchemaComplexContentRestriction complexRest = (complexContent.
Content
as XmlSchemaComplexContentRestriction)!;
System\Xml\Schema\XsdBuilder.cs (1)
1667
if (builder._complexContent!.
Content
!= null)
System\Xml\Serialization\SchemaObjectWriter.cs (4)
910
if (o.
@Content
is XmlSchemaComplexContentRestriction)
912
Write56_XmlSchemaComplexContentRestriction((XmlSchemaComplexContentRestriction)o.
@Content
);
914
else if (o.
@Content
is XmlSchemaComplexContentExtension)
916
Write42_XmlSchemaComplexContentExtension((XmlSchemaComplexContentExtension)o.
@Content
);