24 writes to Content
System.Runtime.Serialization (3)
System\Runtime\Serialization\SchemaExporter.cs (3)
446anonymousType.Content = restriction; 448type.Content = list; 451type.Content = restriction;
System.ServiceModel (1)
System\ServiceModel\Description\MessageContractExporter.cs (1)
200streamBodyType.Content = contentRestriction;
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\SchemaUtility.cs (2)
432qNameListType.Content = qNameListTypeContent; 532uriListType.Content = uriListTypeContent;
System.Web.Services (3)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (3)
7501o.@Content = Read17_XmlSchemaSimpleTypeList(false, true); 7505o.@Content = Read32_XmlSchemaSimpleTypeRestriction(false, true); 7509o.@Content = Read33_XmlSchemaSimpleTypeUnion(false, true);
System.Xml (15)
System\Xml\Schema\DataTypeImplementation.cs (2)
186derivedType.Content = restContent; 206derivedType.Content = listContent;
System\Xml\Schema\Preprocessor.cs (1)
394type.Content = r;
System\Xml\Schema\XmlSchemaSimpleType.cs (1)
54newSimpleType.Content = (XmlSchemaSimpleTypeContent)content.Clone();
System\Xml\Schema\XsdBuilder.cs (3)
1409builder.simpleType.Content = builder.simpleTypeUnion; 1437builder.simpleType.Content = builder.simpleTypeList; 1457builder.simpleType.Content = builder.simpleTypeRestriction;
System\Xml\Serialization\SoapSchemaExporter.cs (3)
369dataType.Content = restriction; 374enumType.Content = restriction; 376dataType.Content = list;
System\Xml\Serialization\Types.cs (1)
598dataType.Content = restriction;
System\Xml\Serialization\XmlSchemaExporter.cs (4)
698dataType.Content = list; 1027dataType.Content = restriction; 1032enumType.Content = restriction; 1034dataType.Content = list;
88 references to Content
System.Data (4)
fx\src\data\System\Data\SimpleType.cs (4)
88if ((node.Content is XmlSchemaSimpleTypeList) || 89(node.Content is XmlSchemaSimpleTypeUnion)) 92if (node.Content is XmlSchemaSimpleTypeRestriction) { 93XmlSchemaSimpleTypeRestriction content = (XmlSchemaSimpleTypeRestriction) node.Content;
System.Data.SqlXml (2)
System\Xml\Xsl\XmlQueryTypeFactory.cs (2)
60return PrimeProduct(Type(((XmlSchemaSimpleTypeList) schemaType.Content).BaseItemType, isStrict), XmlQueryCardinality.ZeroOrMore); 64XmlSchemaSimpleType[] baseMemberTypes = ((XmlSchemaSimpleTypeUnion) schemaType.Content).BaseMemberTypes;
System.Runtime.Serialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
429XmlSchemaSimpleTypeContent content = simpleType.Content; 1181XmlSchemaSimpleTypeContent content = anonymousType.Content;
System.ServiceModel.Web (11)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (11)
324InvokeHandler(simpleType.Content, context); 329if (!(simpleType.Content is XmlSchemaSimpleTypeList)) 342if (simpleType.Content != null && simpleType.Content is XmlSchemaSimpleTypeRestriction) 344XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)simpleType.Content; 470if (simpleType.Content != null) 472if (simpleType.Content is XmlSchemaSimpleTypeRestriction) 474XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)simpleType.Content; 485else if (simpleType.Content is XmlSchemaSimpleTypeList) 487InvokeHandler(simpleType.Content, context); 567if (!(simpleType.Content is XmlSchemaSimpleTypeList))
System.Web.Extensions (3)
Script\Services\WebServiceTypeData.cs (3)
146XmlSchemaSimpleTypeRestriction restriction = simpleType.Content as XmlSchemaSimpleTypeRestriction; 153XmlSchemaSimpleTypeList list = simpleType.Content as XmlSchemaSimpleTypeList; 156restriction = anonymousType.Content as XmlSchemaSimpleTypeRestriction;
System.Web.Services (8)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (8)
2482if (o.@Content is global::System.Xml.Schema.XmlSchemaSimpleTypeUnion) { 2483Write33_XmlSchemaSimpleTypeUnion(@"union", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaSimpleTypeUnion)o.@Content), false, false); 2485else if (o.@Content is global::System.Xml.Schema.XmlSchemaSimpleTypeRestriction) { 2486Write32_XmlSchemaSimpleTypeRestriction(@"restriction", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaSimpleTypeRestriction)o.@Content), false, false); 2488else if (o.@Content is global::System.Xml.Schema.XmlSchemaSimpleTypeList) { 2489Write17_XmlSchemaSimpleTypeList(@"list", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaSimpleTypeList)o.@Content), false, false); 2492if (o.@Content != null) { 2493throw CreateUnknownTypeException(o.@Content);
System.Xml (57)
System\Xml\Schema\DataTypeImplementation.cs (1)
850XmlSchemaSimpleTypeList listType = simpleType.Content as XmlSchemaSimpleTypeList;
System\Xml\Schema\Preprocessor.cs (9)
939if (stype.Content != null && stype.Content is XmlSchemaSimpleTypeRestriction) { 940XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)stype.Content; 1284if (simpleType.Content == null) { 1287else if (simpleType.Content is XmlSchemaSimpleTypeRestriction) { 1288XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)simpleType.Content; 1312else if (simpleType.Content is XmlSchemaSimpleTypeList) { 1313XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)simpleType.Content; 1335XmlSchemaSimpleTypeUnion union1 = (XmlSchemaSimpleTypeUnion)simpleType.Content;
System\Xml\Schema\SchemaCollectionCompiler.cs (5)
417if (simpleType.Content is XmlSchemaSimpleTypeList) { 418XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)simpleType.Content; 442else if (simpleType.Content is XmlSchemaSimpleTypeRestriction) { 443XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)simpleType.Content; 502XmlSchemaSimpleTypeUnion mainUnion = (XmlSchemaSimpleTypeUnion)simpleType.Content;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (9)
631if (stype.Content != null && stype.Content is XmlSchemaSimpleTypeRestriction) { 632XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)stype.Content; 972if (simpleType.Content == null) { 975else if (simpleType.Content is XmlSchemaSimpleTypeRestriction) { 976XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)simpleType.Content; 1000else if (simpleType.Content is XmlSchemaSimpleTypeList) { 1001XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)simpleType.Content; 1023XmlSchemaSimpleTypeUnion union1 = (XmlSchemaSimpleTypeUnion)simpleType.Content;
System\Xml\Schema\SchemaSetCompiler.cs (5)
481if (simpleType.Content is XmlSchemaSimpleTypeList) { 482XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)simpleType.Content; 506else if (simpleType.Content is XmlSchemaSimpleTypeRestriction) { 507XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)simpleType.Content; 569XmlSchemaSimpleTypeUnion mainUnion = (XmlSchemaSimpleTypeUnion)simpleType.Content;
System\Xml\Schema\XmlValueConverter.cs (1)
3318XmlSchemaSimpleType[] memberTypes = ((XmlSchemaSimpleTypeUnion) ((XmlSchemaSimpleType) schemaType).Content).BaseMemberTypes;
System\Xml\Schema\XsdBuilder.cs (3)
1405if (builder.simpleType.Content != null) { 1433if (builder.simpleType.Content != null) { 1453if (builder.simpleType.Content != null) {
System\Xml\Serialization\ImportContext.cs (1)
336XmlSchemaSimpleTypeContent content = simpleType.Content;
System\Xml\Serialization\SchemaObjectWriter.cs (6)
467if (o.@Content is XmlSchemaSimpleTypeUnion) { 468Write12_XmlSchemaSimpleTypeUnion((XmlSchemaSimpleTypeUnion)o.@Content); 470else if (o.@Content is XmlSchemaSimpleTypeRestriction) { 471Write15_XmlSchemaSimpleTypeRestriction((XmlSchemaSimpleTypeRestriction)o.@Content); 473else if (o.@Content is XmlSchemaSimpleTypeList) { 474Write14_XmlSchemaSimpleTypeList((XmlSchemaSimpleTypeList)o.@Content);
System\Xml\Serialization\SoapSchemaImporter.cs (9)
519if (dataType.Content is XmlSchemaSimpleTypeRestriction) { 520XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)dataType.Content; 527else if (dataType.Content is XmlSchemaSimpleTypeList || dataType.Content is XmlSchemaSimpleTypeUnion) { 528if (dataType.Content is XmlSchemaSimpleTypeList) { 530XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)dataType.Content; 565if (!(dataType.Content is XmlSchemaSimpleTypeRestriction)) 566throw new InvalidOperationException(Res.GetString(Res.XmlInvalidEnumContent, dataType.Content.GetType().Name, identifier)); 568XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)dataType.Content;
System\Xml\Serialization\XmlSchemaImporter.cs (8)
1548if (dataType.Content is XmlSchemaSimpleTypeRestriction) { 1549XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)dataType.Content; 1566else if (dataType.Content is XmlSchemaSimpleTypeList || dataType.Content is XmlSchemaSimpleTypeUnion) { 1567if (dataType.Content is XmlSchemaSimpleTypeList) { 1569XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)dataType.Content; 1614XmlSchemaSimpleTypeContent content = dataType.Content; 1720XmlSchemaSimpleTypeContent content = dataType.Content;
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
87foreach (XmlSchemaSimpleType mt in ((XmlSchemaSimpleTypeUnion)st.Content).BaseMemberTypes) {