2 overrides of Content
System.Xml (2)
System\Xml\Schema\XmlSchemaComplexContent.cs (1)
37public override XmlSchemaContent Content {
System\Xml\Schema\XmlSchemaSimpleContent.cs (1)
25public override XmlSchemaContent Content {
1 write to Content
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaExporter.cs (1)
493type.ContentModel.Content = extension;
37 references to Content
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (1)
211InvokeHandler(model.Content, context);
System.Web.Services (5)
System\Web\Services\Description\HttpProtocolImporter.cs (5)
113if (type.ContentModel.Content == null) throw new ArgumentException(Res.GetString(Res.Missing2, type.Name, type.ContentModel.GetType().Name), "part"); 114if (type.ContentModel.Content is XmlSchemaComplexContentExtension) { 115return ((XmlSchemaComplexContentExtension)type.ContentModel.Content).BaseTypeName == new XmlQualifiedName(Soap.ArrayType, Soap.Encoding); 117else if (type.ContentModel.Content is XmlSchemaComplexContentRestriction) { 118return ((XmlSchemaComplexContentRestriction)type.ContentModel.Content).BaseTypeName == new XmlQualifiedName(Soap.ArrayType, Soap.Encoding);
System.Xml (31)
System\Xml\Schema\XmlSchemaComplexType.cs (8)
320if (contentModel.Content is XmlSchemaComplexContentRestriction) 321return ((XmlSchemaComplexContentRestriction)contentModel.Content).BaseTypeName; 322else if (contentModel.Content is XmlSchemaComplexContentExtension) 323return ((XmlSchemaComplexContentExtension)contentModel.Content).BaseTypeName; 324else if (contentModel.Content is XmlSchemaSimpleContentRestriction) 325return ((XmlSchemaSimpleContentRestriction)contentModel.Content).BaseTypeName; 326else if (contentModel.Content is XmlSchemaSimpleContentExtension) 327return ((XmlSchemaSimpleContentExtension)contentModel.Content).BaseTypeName;
System\Xml\Serialization\ImportContext.cs (1)
297XmlSchemaContent content = ct.ContentModel.Content;
System\Xml\Serialization\SoapSchemaExporter.cs (5)
331if (type.ContentModel.Content is XmlSchemaComplexContentExtension) 332((XmlSchemaComplexContentExtension)type.ContentModel.Content).Particle = seq; 333else if (type.ContentModel.Content is XmlSchemaComplexContentRestriction) 334((XmlSchemaComplexContentRestriction)type.ContentModel.Content).Particle = seq; 336throw new InvalidOperationException(Res.GetString(Res.XmlInvalidContent, type.ContentModel.Content.GetType().Name));
System\Xml\Serialization\SoapSchemaImporter.cs (2)
422if (!(model.Content is XmlSchemaComplexContentRestriction)) return null; 426XmlSchemaComplexContentRestriction restriction = (XmlSchemaComplexContentRestriction)model.Content;
System\Xml\Serialization\XmlSchemaExporter.cs (14)
611if (type.ContentModel.Content is XmlSchemaComplexContentRestriction) 612attributes = ((XmlSchemaComplexContentRestriction)type.ContentModel.Content).Attributes; 613else if (type.ContentModel.Content is XmlSchemaComplexContentExtension) 614attributes = ((XmlSchemaComplexContentExtension)type.ContentModel.Content).Attributes; 615else if (type.ContentModel.Content is XmlSchemaSimpleContentExtension) 616attributes = ((XmlSchemaSimpleContentExtension)type.ContentModel.Content).Attributes; 618throw new InvalidOperationException(Res.GetString(Res.XmlInvalidContent, type.ContentModel.Content.GetType().Name)); 640XmlSchemaContent content = type.ContentModel.Content; 649else if (type.ContentModel.Content is XmlSchemaSimpleContentExtension) { 947if (type.ContentModel.Content is XmlSchemaComplexContentRestriction) 948((XmlSchemaComplexContentRestriction)type.ContentModel.Content).Particle = seq; 949else if (type.ContentModel.Content is XmlSchemaComplexContentExtension) 950((XmlSchemaComplexContentExtension)type.ContentModel.Content).Particle = seq; 952throw new InvalidOperationException(Res.GetString(Res.XmlInvalidContent, type.ContentModel.Content.GetType().Name));
System\Xml\Serialization\XmlSchemaImporter.cs (1)
715XmlSchemaContent content = ct.ContentModel.Content;