2 overrides of Content
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexContent.cs (1)
40
public override XmlSchemaContent
Content
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSimpleContent.cs (1)
27
public override XmlSchemaContent
Content
31 references to Content
dotnet-svcutil-lib (31)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (8)
367
if (_contentModel.
Content
is XmlSchemaComplexContentRestriction)
368
return ((XmlSchemaComplexContentRestriction)_contentModel.
Content
).BaseTypeName;
369
else if (_contentModel.
Content
is XmlSchemaComplexContentExtension)
370
return ((XmlSchemaComplexContentExtension)_contentModel.
Content
).BaseTypeName;
371
else if (_contentModel.
Content
is XmlSchemaSimpleContentRestriction)
372
return ((XmlSchemaSimpleContentRestriction)_contentModel.
Content
).BaseTypeName;
373
else if (_contentModel.
Content
is XmlSchemaSimpleContentExtension)
374
return ((XmlSchemaSimpleContentExtension)_contentModel.
Content
).BaseTypeName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (1)
348
XmlSchemaContent content = ct.ContentModel.
Content
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (5)
384
if (type.ContentModel.
Content
is XmlSchemaComplexContentExtension)
385
((XmlSchemaComplexContentExtension)type.ContentModel.
Content
).Particle = seq;
386
else if (type.ContentModel.
Content
is XmlSchemaComplexContentRestriction)
387
((XmlSchemaComplexContentRestriction)type.ContentModel.
Content
).Particle = seq;
389
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidContent, type.ContentModel.
Content
.GetType().Name));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (2)
471
if (!(model.
Content
is XmlSchemaComplexContentRestriction)) return null;
475
XmlSchemaComplexContentRestriction restriction = (XmlSchemaComplexContentRestriction)model.
Content
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (14)
713
if (type.ContentModel.
Content
is XmlSchemaComplexContentRestriction)
714
attributes = ((XmlSchemaComplexContentRestriction)type.ContentModel.
Content
).Attributes;
715
else if (type.ContentModel.
Content
is XmlSchemaComplexContentExtension)
716
attributes = ((XmlSchemaComplexContentExtension)type.ContentModel.
Content
).Attributes;
717
else if (type.ContentModel.
Content
is XmlSchemaSimpleContentExtension)
718
attributes = ((XmlSchemaSimpleContentExtension)type.ContentModel.
Content
).Attributes;
720
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidContent, type.ContentModel.
Content
.GetType().Name));
746
XmlSchemaContent content = type.ContentModel.
Content
;
757
else if (type.ContentModel.
Content
is XmlSchemaSimpleContentExtension)
1112
if (type.ContentModel.
Content
is XmlSchemaComplexContentRestriction)
1113
((XmlSchemaComplexContentRestriction)type.ContentModel.
Content
).Particle = seq;
1114
else if (type.ContentModel.
Content
is XmlSchemaComplexContentExtension)
1115
((XmlSchemaComplexContentExtension)type.ContentModel.
Content
).Particle = seq;
1117
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidContent, type.ContentModel.
Content
.GetType().Name));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
820
XmlSchemaContent content = ct.ContentModel.
Content
;