18 writes to Content
dotnet-svcutil-lib (18)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (2)
203
derivedType.
Content
= restContent;
225
derivedType.
Content
= listContent;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
468
type.
Content
= r;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSimpleType.cs (1)
64
newSimpleType.
Content
= (XmlSchemaSimpleTypeContent)_content.Clone();
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (3)
1510
builder._simpleType.
Content
= builder._simpleTypeUnion;
1543
builder._simpleType.
Content
= builder._simpleTypeList;
1566
builder._simpleType.
Content
= builder._simpleTypeRestriction;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (3)
429
dataType.
Content
= restriction;
435
enumType.
Content
= restriction;
437
dataType.
Content
= list;
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (1)
674
dataType.
Content
= restriction;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (4)
817
dataType.
Content
= list;
1210
dataType.
Content
= restriction;
1216
enumType.
Content
= restriction;
1218
dataType.
Content
= list;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (3)
9321
o.
@Content
= Read17_XmlSchemaSimpleTypeList(false, true);
9326
o.
@Content
= Read32_XmlSchemaSimpleTypeRestriction(false, true);
9331
o.
@Content
= Read33_XmlSchemaSimpleTypeUnion(false, true);
67 references to Content
dotnet-svcutil-lib (67)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (1)
955
XmlSchemaSimpleTypeList listType = simpleType.
Content
as XmlSchemaSimpleTypeList;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (9)
1132
if (stype.
Content
!= null && stype.
Content
is XmlSchemaSimpleTypeRestriction)
1134
XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)stype.
Content
;
1574
if (simpleType.
Content
== null)
1578
else if (simpleType.
Content
is XmlSchemaSimpleTypeRestriction)
1580
XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)simpleType.
Content
;
1610
else if (simpleType.
Content
is XmlSchemaSimpleTypeList)
1612
XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)simpleType.
Content
;
1640
XmlSchemaSimpleTypeUnion union1 = (XmlSchemaSimpleTypeUnion)simpleType.
Content
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (5)
522
if (simpleType.
Content
is XmlSchemaSimpleTypeList)
524
XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)simpleType.
Content
;
553
else if (simpleType.
Content
is XmlSchemaSimpleTypeRestriction)
555
XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)simpleType.
Content
;
626
XmlSchemaSimpleTypeUnion mainUnion = (XmlSchemaSimpleTypeUnion)simpleType.
Content
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (9)
781
if (stype.
Content
!= null && stype.
Content
is XmlSchemaSimpleTypeRestriction)
783
XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)stype.
Content
;
1219
if (simpleType.
Content
== null)
1223
else if (simpleType.
Content
is XmlSchemaSimpleTypeRestriction)
1225
XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)simpleType.
Content
;
1255
else if (simpleType.
Content
is XmlSchemaSimpleTypeList)
1257
XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)simpleType.
Content
;
1285
XmlSchemaSimpleTypeUnion union1 = (XmlSchemaSimpleTypeUnion)simpleType.
Content
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (5)
603
if (simpleType.
Content
is XmlSchemaSimpleTypeList)
605
XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)simpleType.
Content
;
634
else if (simpleType.
Content
is XmlSchemaSimpleTypeRestriction)
636
XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)simpleType.
Content
;
711
XmlSchemaSimpleTypeUnion mainUnion = (XmlSchemaSimpleTypeUnion)simpleType.
Content
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (1)
3679
XmlSchemaSimpleType[] memberTypes = ((XmlSchemaSimpleTypeUnion)((XmlSchemaSimpleType)schemaType).
Content
).BaseMemberTypes;
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (3)
1505
if (builder._simpleType.
Content
!= null)
1538
if (builder._simpleType.
Content
!= null)
1561
if (builder._simpleType.
Content
!= null)
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (1)
395
XmlSchemaSimpleTypeContent content = simpleType.
Content
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (6)
566
if (o.
@Content
is XmlSchemaSimpleTypeUnion)
568
Write12_XmlSchemaSimpleTypeUnion((XmlSchemaSimpleTypeUnion)o.
@Content
);
570
else if (o.
@Content
is XmlSchemaSimpleTypeRestriction)
572
Write15_XmlSchemaSimpleTypeRestriction((XmlSchemaSimpleTypeRestriction)o.
@Content
);
574
else if (o.
@Content
is XmlSchemaSimpleTypeList)
576
Write14_XmlSchemaSimpleTypeList((XmlSchemaSimpleTypeList)o.
@Content
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (9)
583
if (dataType.
Content
is XmlSchemaSimpleTypeRestriction)
585
XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)dataType.
Content
;
594
else if (dataType.
Content
is XmlSchemaSimpleTypeList || dataType.
Content
is XmlSchemaSimpleTypeUnion)
596
if (dataType.
Content
is XmlSchemaSimpleTypeList)
599
XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)dataType.
Content
;
637
if (!(dataType.
Content
is XmlSchemaSimpleTypeRestriction))
638
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidEnumContent, dataType.
Content
.GetType().Name, identifier));
640
XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)dataType.
Content
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (8)
1774
if (dataType.
Content
is XmlSchemaSimpleTypeRestriction)
1776
XmlSchemaSimpleTypeRestriction restriction = (XmlSchemaSimpleTypeRestriction)dataType.
Content
;
1797
else if (dataType.
Content
is XmlSchemaSimpleTypeList || dataType.
Content
is XmlSchemaSimpleTypeUnion)
1799
if (dataType.
Content
is XmlSchemaSimpleTypeList)
1802
XmlSchemaSimpleTypeList list = (XmlSchemaSimpleTypeList)dataType.
Content
;
1853
XmlSchemaSimpleTypeContent content = dataType.
Content
;
1975
XmlSchemaSimpleTypeContent content = dataType.
Content
;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (2)
428
XmlSchemaSimpleTypeContent content = simpleType.
Content
;
1175
XmlSchemaSimpleTypeContent content = anonymousType.
Content
;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (8)
3153
if (o.
@Content
is Microsoft.Xml.Schema.XmlSchemaSimpleTypeUnion)
3155
Write33_XmlSchemaSimpleTypeUnion(@"union", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaSimpleTypeUnion)o.
@Content
), false, false);
3157
else if (o.
@Content
is Microsoft.Xml.Schema.XmlSchemaSimpleTypeRestriction)
3159
Write32_XmlSchemaSimpleTypeRestriction(@"restriction", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaSimpleTypeRestriction)o.
@Content
), false, false);
3161
else if (o.
@Content
is Microsoft.Xml.Schema.XmlSchemaSimpleTypeList)
3163
Write17_XmlSchemaSimpleTypeList(@"list", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaSimpleTypeList)o.
@Content
), false, false);
3167
if (o.
@Content
!= null)
3169
throw CreateUnknownTypeException(o.
@Content
);