12 writes to Parent
System.Xml (12)
System\Xml\Schema\Inference\Infer.cs (4)
421xsa.Parent = null; 458xsa.Parent = null; 817xse.Parent = null; 892xse.Parent = null;
System\Xml\Schema\Preprocessor.cs (3)
1766child.Parent = parent; 1776annotation.Parent = schemaObject; 1784annotation.Items[i].Parent = annotation; //Can be documentation or appInfo
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
1415child.Parent = parent; 1422annotated.Annotation.Parent = schemaObject; 1424annotated.Annotation.Items[i].Parent = annotated.Annotation; //Can be documentation or appInfo
System\Xml\Schema\SchemaSetCompiler.cs (1)
2562to.Parent = from.Parent;
System\Xml\Schema\XsdBuilder.cs (1)
2356this.xso.Parent = this.ParentContainer;
70 references to Parent
System.Data (5)
fx\src\data\System\Data\XMLSchema.cs (5)
668if (dsElement.Parent != element.Parent) { 2171XmlSchemaObject e = (XmlSchemaObject)elem.Parent; 2172while (e.Parent != null) { 2173e = e.Parent;
System.Data.Services.Design (1)
System\Data\Services\Design\Xml\XNodeSchemaApplier.cs (1)
181schemaObject = schemaObject.Parent;
System.ServiceModel (3)
System\ServiceModel\Description\MessageContractImporter.cs (3)
933AddSchema(element.Parent as XmlSchema, isEncoded, isLiteral, encodedSchemas, literalSchemas, references); 939AddSchema(type.Parent as XmlSchema, isEncoded, isLiteral, encodedSchemas, literalSchemas, references); 949AddSchema(type.Parent as XmlSchema, isEncoded, isLiteral, encodedSchemas, literalSchemas, references);
System.Web.Services (14)
System\Web\Services\Description\SchemaCompiler.cs (11)
62while (source.Parent != null) { 63source = source.Parent; 78while (o.Parent != null && !(o.Parent is XmlSchema)) { 79o = o.Parent; 83while (tmp.Parent != null) { 84tmp = tmp.Parent; 146while (item.Parent != null) { 147if (item.Parent is XmlSchemaType) { 148XmlSchemaType type = (XmlSchemaType)item.Parent; 153item = item.Parent;
System\Web\Services\Description\ServiceDescriptionImporter.cs (3)
448AddSchema(element.Parent as XmlSchema, isEncoded, isLiteral, abstractSchemas, concreteSchemas, references); 452AddSchema(type.Parent as XmlSchema, isEncoded, isLiteral, abstractSchemas, concreteSchemas, references); 460AddSchema(type.Parent as XmlSchema, isEncoded, isLiteral, abstractSchemas, concreteSchemas, references);
System.Xml (47)
System\Xml\Schema\Inference\Infer.cs (5)
227rootSchema = elem.Parent as XmlSchema; 414if (xsa.Parent == null) 451if (xsa.Parent == null) 810if (xse.Parent == null) 882if (xse.Parent == null)
System\Xml\Schema\Preprocessor.cs (1)
848currentSchemaObject = currentSchemaObject.Parent;
System\Xml\Schema\SchemaNamespacemanager.cs (2)
25for (XmlSchemaObject current = node; current != null; current = current.Parent) { 41for (XmlSchemaObject current = node; current != null; current = current.Parent) {
System\Xml\Schema\SchemaSetCompiler.cs (3)
1253if (baseChoice.Parent == null || derivedChoice.Parent == null) { //using parent property to indicate this choice was created on the fly for substitutionGroup 2562to.Parent = from.Parent;
System\Xml\Schema\XmlSchemaSet.cs (3)
1133if(!existingSchemas.Contains((XmlSchema)elementToRemove.Parent)) { 1138if(!existingSchemas.Contains((XmlSchema)attributeToRemove.Parent)) { 1143if(!existingSchemas.Contains((XmlSchema)schemaTypeToRemove.Parent)) {
System\Xml\Serialization\ImportContext.cs (3)
259if (o.Parent is XmlSchema) { 260string ns = ((XmlSchema)o.Parent).TargetNamespace; 271if (item.Parent is XmlSchema) {
System\Xml\Serialization\Mappings.cs (2)
1079if (element.Parent == null || !(element.Parent is XmlSchema))
System\Xml\Serialization\SchemaObjectWriter.cs (5)
121o = o.Parent; 255if (o.Parent != null && !(o.Parent is XmlSchema)) { 821if (o.Parent != null && !(o.Parent is XmlSchema)) {
System\Xml\Serialization\SoapSchemaImporter.cs (1)
272XmlSchemaElement element = (XmlSchemaElement)type.Parent;
System\Xml\Serialization\Types.cs (1)
1233parent = parent.Parent;
System\Xml\Serialization\XmlSchemaImporter.cs (8)
206XmlSchema schema = xso.Parent as XmlSchema; 311accessor.IsTopLevelInSchema = element.Parent is XmlSchema; 344while (parent.Parent != null && type != parent) { 345parent = parent.Parent; 1802while (parent.Parent != null) { 1803parent = parent.Parent; 1860while (parent.Parent != null) { 1861parent = parent.Parent;
System\Xml\Serialization\XmlSchemas.cs (13)
480while (item.Parent != null) { 481if (item.Parent is XmlSchemaType) { 482XmlSchemaType type = (XmlSchemaType)item.Parent; 487item = item.Parent; 496while (o.Parent != null && !(o.Parent is XmlSchema)) { 497o = o.Parent; 501while (tmp.Parent != null) { 502tmp = tmp.Parent; 669while (source.Parent != null) { 670source = source.Parent; 730while (parent.Parent != null) { 731parent = parent.Parent;