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