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