12 writes to Parent
System.Private.Xml (12)
System\Xml\Schema\Inference\Infer.cs (4)
401
xsa.
Parent
= null;
439
xsa.
Parent
= null;
801
xse.
Parent
= null;
876
xse.
Parent
= null;
System\Xml\Schema\Preprocessor.cs (3)
2157
child.
Parent
= parent;
2169
annotation.
Parent
= schemaObject;
2179
annotation.Items[i].
Parent
= annotation; //Can be documentation or appInfo
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
1775
child.
Parent
= parent;
1785
annotated.Annotation.
Parent
= schemaObject;
1788
annotated.Annotation.Items[i].
Parent
= annotated.Annotation; //Can be documentation or appInfo
System\Xml\Schema\SchemaSetCompiler.cs (1)
3076
to.
Parent
= from.Parent;
System\Xml\Schema\XsdBuilder.cs (1)
2600
_xso.
Parent
= this.ParentContainer;
49 references to Parent
System.Data.Common (5)
System\Data\XMLSchema.cs (5)
775
if (_dsElement.
Parent
!= element.
Parent
)
2512
XmlSchemaObject e = elem.
Parent
!;
2513
while (e.
Parent
!= null)
2515
e = e.
Parent
;
System.Private.Xml (44)
System\Xml\Schema\Inference\Infer.cs (5)
202
_rootSchema = elem.
Parent
as XmlSchema;
394
if (xsa.
Parent
== null)
432
if (xsa.
Parent
== null)
794
if (xse.
Parent
== null)
865
if (xse.
Parent
== null)
System\Xml\Schema\Preprocessor.cs (1)
980
currentSchemaObject = currentSchemaObject.
Parent
;
System\Xml\Schema\SchemaNamespacemanager.cs (2)
26
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)
1602
if (baseChoice.
Parent
== null || derivedChoice.
Parent
== null)
3076
to.Parent = from.
Parent
;
System\Xml\Schema\XmlSchemaSet.cs (3)
1177
if (!existingSchemas.Contains((XmlSchema?)elementToRemove!.
Parent
))
1185
if (!existingSchemas.Contains((XmlSchema?)attributeToRemove!.
Parent
))
1193
if (!existingSchemas.Contains((XmlSchema?)schemaTypeToRemove!.
Parent
))
System\Xml\Serialization\ImportContext.cs (2)
230
if (o.
Parent
is XmlSchema parent)
243
if (item.
Parent
is XmlSchema)
System\Xml\Serialization\Mappings.cs (2)
1217
if (element.
Parent
== null || !(element.
Parent
is XmlSchema))
System\Xml\Serialization\SchemaObjectWriter.cs (5)
143
o = o.
Parent
;
305
if (o.
Parent
!= null && !(o.
Parent
is XmlSchema))
983
if (o.
Parent
!= null && !(o.
Parent
is XmlSchema))
System\Xml\Serialization\Types.cs (1)
1401
parent = parent.
Parent
;
System\Xml\Serialization\XmlSchemaImporter.cs (8)
175
XmlSchema? schema = xso.
Parent
as XmlSchema;
294
accessor.IsTopLevelInSchema = element.
Parent
is XmlSchema;
336
while (parent.
Parent
!= null && type != parent)
338
parent = parent.
Parent
;
1984
while (parent.
Parent
!= null)
1986
parent = parent.
Parent
;
2012
while (parent.
Parent
!= null)
2014
parent = parent.
Parent
;
System\Xml\Serialization\XmlSchemas.cs (12)
469
while (item.
Parent
!= null)
471
if (item.
Parent
is XmlSchemaType type)
478
item = item.
Parent
;
490
while (o.
Parent
!= null && !(o.
Parent
is XmlSchema))
492
o = o.
Parent
;
497
while (tmp.
Parent
!= null)
499
tmp = tmp.
Parent
;
703
while (source.
Parent
!= null)
705
source = source.
Parent
;
761
while (parent.
Parent
!= null)
763
parent = parent.
Parent
;