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