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)
1001
model.
Content
= extension;
39 references to Content
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
1056
XmlSchemaAnnotated? cContent = ((XmlSchemaComplexContent)(ct.ContentModel)).
Content
;
1145
XmlSchemaAnnotated cContent = ((XmlSchemaComplexContent)(ct.ContentModel)).
Content
!;
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\SchemaImporter.cs (3)
317
if (complexContent.
Content
is XmlSchemaComplexContentExtension extension)
463
if (complexContent.
Content
is XmlSchemaComplexContentExtension extension)
467
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)
789
if (content.
Content
is XmlSchemaComplexContentRestriction)
791
baseName = ((XmlSchemaComplexContentRestriction)content.
Content
).BaseTypeName;
795
baseName = ((XmlSchemaComplexContentExtension)content.
Content
!).BaseTypeName;
1424
if (content.
Content
== null)
1441
SetParent(content.
Content
, content); //complexcontent extension / restriction
1442
PreprocessAnnotation(content.
Content
); //Annotation child of extension / restriction
1444
if (content.
Content
is XmlSchemaComplexContentExtension contentExtension)
1464
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
);