15 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)
649dataType.Content = restriction;
System\Xml\Serialization\XmlSchemaExporter.cs (4)
776dataType.Content = list; 1167dataType.Content = restriction; 1173enumType.Content = restriction; 1175dataType.Content = list;
47 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)
315XmlSchemaSimpleTypeContent? 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)
1672if (dataType.Content is XmlSchemaSimpleTypeRestriction restriction) 1694else if (dataType.Content is XmlSchemaSimpleTypeList || dataType.Content is XmlSchemaSimpleTypeUnion) 1697if (dataType.Content is XmlSchemaSimpleTypeList list) 1751XmlSchemaSimpleTypeContent? content = dataType.Content; 1875XmlSchemaSimpleTypeContent? 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!)