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