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