18 writes to Content
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\SchemaExporter.cs (3)
449anonymousType.Content = restriction; 451type.Content = list; 454type.Content = restriction;
System.Private.Xml (12)
System\Xml\Schema\DataTypeImplementation.cs (2)
197derivedType.Content = restContent; 219derivedType.Content = listContent;
System\Xml\Schema\Preprocessor.cs (1)
450type.Content = r;
System\Xml\Schema\XmlSchemaSimpleType.cs (1)
49newSimpleType.Content = (XmlSchemaSimpleTypeContent)_content.Clone();
System\Xml\Schema\XsdBuilder.cs (3)
1503builder._simpleType.Content = builder._simpleTypeUnion; 1537builder._simpleType.Content = builder._simpleTypeList; 1561builder._simpleType.Content = builder._simpleTypeRestriction;
System\Xml\Serialization\Types.cs (1)
657dataType.Content = restriction;
System\Xml\Serialization\XmlSchemaExporter.cs (4)
776dataType.Content = list; 1167dataType.Content = restriction; 1173enumType.Content = restriction; 1175dataType.Content = list;
System.Web.Services.Description (3)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (3)
9220o.@Content = Read17_XmlSchemaSimpleTypeList(false, true); 9224o.@Content = Read32_XmlSchemaSimpleTypeRestriction(false, true); 9228o.@Content = Read33_XmlSchemaSimpleTypeUnion(false, true);
55 references to Content
System.Data.Common (3)
System\Data\SimpleType.cs (3)
52if ((node.Content is XmlSchemaSimpleTypeList) || 53(node.Content is XmlSchemaSimpleTypeUnion)) 56if (node.Content is XmlSchemaSimpleTypeRestriction content)
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
426XmlSchemaSimpleTypeContent? content = simpleType.Content; 1176XmlSchemaSimpleTypeContent? content = anonymousType.Content;
System.Private.Xml (40)
System\Xml\Schema\DataTypeImplementation.cs (1)
927XmlSchemaSimpleTypeList? listType = simpleType.Content as XmlSchemaSimpleTypeList;
System\Xml\Schema\Preprocessor.cs (7)
1097if (stype.Content != null && stype.Content is XmlSchemaSimpleTypeRestriction) 1099XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)stype.Content; 1544if (simpleType.Content == null) 1548else if (simpleType.Content is XmlSchemaSimpleTypeRestriction restriction) 1579else if (simpleType.Content is XmlSchemaSimpleTypeList list) 1608XmlSchemaSimpleTypeUnion union1 = (XmlSchemaSimpleTypeUnion)simpleType.Content;
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
532if (simpleType.Content is XmlSchemaSimpleTypeList list) 562else if (simpleType.Content is XmlSchemaSimpleTypeRestriction restriction) 635XmlSchemaSimpleTypeUnion mainUnion = (XmlSchemaSimpleTypeUnion)simpleType.Content!;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (7)
773if (stype.Content != null && stype.Content is XmlSchemaSimpleTypeRestriction) 775XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)stype.Content; 1211if (simpleType.Content == null) 1215else if (simpleType.Content is XmlSchemaSimpleTypeRestriction restriction) 1246else if (simpleType.Content is XmlSchemaSimpleTypeList list) 1275XmlSchemaSimpleTypeUnion union1 = (XmlSchemaSimpleTypeUnion)simpleType.Content;
System\Xml\Schema\SchemaSetCompiler.cs (3)
616if (simpleType.Content is XmlSchemaSimpleTypeList list) 648else if (simpleType.Content is XmlSchemaSimpleTypeRestriction restriction) 725XmlSchemaSimpleTypeUnion mainUnion = (XmlSchemaSimpleTypeUnion)simpleType.Content!;
System\Xml\Schema\XmlValueConverter.cs (1)
3147XmlSchemaSimpleType[] memberTypes = ((XmlSchemaSimpleTypeUnion)((XmlSchemaSimpleType)schemaType).Content!).BaseMemberTypes!;
System\Xml\Schema\XsdBuilder.cs (3)
1498if (builder._simpleType!.Content != null) 1531if (builder._simpleType!.Content != null) 1555if (builder._simpleType!.Content != null)
System\Xml\Serialization\ImportContext.cs (1)
313XmlSchemaSimpleTypeContent? content = simpleType.Content;
System\Xml\Serialization\SchemaObjectWriter.cs (6)
565if (o.@Content is XmlSchemaSimpleTypeUnion) 567Write12_XmlSchemaSimpleTypeUnion((XmlSchemaSimpleTypeUnion)o.@Content); 569else if (o.@Content is XmlSchemaSimpleTypeRestriction) 571Write15_XmlSchemaSimpleTypeRestriction((XmlSchemaSimpleTypeRestriction)o.@Content); 573else if (o.@Content is XmlSchemaSimpleTypeList) 575Write14_XmlSchemaSimpleTypeList((XmlSchemaSimpleTypeList)o.@Content);
System\Xml\Serialization\XmlSchemaImporter.cs (6)
1634if (dataType.Content is XmlSchemaSimpleTypeRestriction restriction) 1656else if (dataType.Content is XmlSchemaSimpleTypeList || dataType.Content is XmlSchemaSimpleTypeUnion) 1659if (dataType.Content is XmlSchemaSimpleTypeList list) 1712XmlSchemaSimpleTypeContent? content = dataType.Content; 1835XmlSchemaSimpleTypeContent? content = dataType.Content;
System\Xml\Xsl\XmlQueryTypeFactory.cs (2)
60return PrimeProduct(Type(((XmlSchemaSimpleTypeList)schemaType.Content!).BaseItemType!, isStrict), XmlQueryCardinality.ZeroOrMore); 64XmlSchemaSimpleType[] baseMemberTypes = ((XmlSchemaSimpleTypeUnion)schemaType.Content!).BaseMemberTypes!;
System.Private.Xml.Linq (2)
System\Xml\Schema\XNodeValidator.cs (2)
102Debug.Assert(st.Content != null); 103foreach (XmlSchemaSimpleType mt in ((XmlSchemaSimpleTypeUnion)st.Content).BaseMemberTypes!)
System.Web.Services.Description (8)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (8)
2915if (o.@Content is global::System.Xml.Schema.XmlSchemaSimpleTypeUnion) { 2916Write33_XmlSchemaSimpleTypeUnion(@"union", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaSimpleTypeUnion)o.@Content), false, false); 2918else if (o.@Content is global::System.Xml.Schema.XmlSchemaSimpleTypeRestriction) { 2919Write32_XmlSchemaSimpleTypeRestriction(@"restriction", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaSimpleTypeRestriction)o.@Content), false, false); 2921else if (o.@Content is global::System.Xml.Schema.XmlSchemaSimpleTypeList) { 2922Write17_XmlSchemaSimpleTypeList(@"list", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaSimpleTypeList)o.@Content), false, false); 2925if (o.@Content != null) { 2926throw CreateUnknownTypeException(o.@Content);