13 references to Clone
System.Private.Xml (13)
System\Xml\Schema\SchemaCollectionCompiler.cs (6)
2205
decl = e.ElementDecl.
Clone
();
2236
decl = XmlSchemaComplexType.AnyType.ElementDecl!.
Clone
();
2241
decl = examplar.ElementDecl.
Clone
();
2247
decl = XmlSchemaComplexType.AnyType.ElementDecl!.
Clone
();
2258
decl = complexType.ElementDecl.
Clone
();
2267
decl = simpleType.ElementDecl.
Clone
();
System\Xml\Schema\SchemaSetCompiler.cs (6)
2664
decl = e.ElementDecl.
Clone
();
2695
decl = XmlSchemaComplexType.AnyType.ElementDecl!.
Clone
();
2700
decl = examplar.ElementDecl.
Clone
();
2706
decl = XmlSchemaComplexType.AnyType.ElementDecl!.
Clone
();
2717
decl = complexType.ElementDecl.
Clone
();
2726
decl = simpleType.ElementDecl.
Clone
();
System\Xml\Schema\XmlSchemaValidator.cs (1)
1723
elementDeclXsi = elementDeclXsi.
Clone
(); //Before updating properties onto xsi:type decl, clone it