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