2 writes to _element
System.Private.Xml (2)
System\Xml\Schema\XsdBuilder.cs (2)
991_element = (XmlSchemaElement)container; 1316builder._xso = builder._element = new XmlSchemaElement();
26 references to _element
System.Private.Xml (26)
System\Xml\Schema\XsdBuilder.cs (26)
866container = _element!; 1321builder._schema.Items.Add(builder._element); 1324builder._all!.Items.Add(builder._element); 1327builder._choice!.Items.Add(builder._element); 1330builder._sequence!.Items.Add(builder._element); 1340builder._element!.IsAbstract = builder.ParseBoolean(value, "abstract"); 1345builder._element!.Block = (XmlSchemaDerivationMethod)builder.ParseBlockFinalEnum(value, "block"); 1350builder._element!.DefaultValue = value; 1355builder._element!.Form = (XmlSchemaForm)builder.ParseEnum(value, "form", s_formStringValues); 1360builder._element!.SubstitutionGroup = builder.ParseQName(value, "substitutionGroup"); 1365builder._element!.Final = (XmlSchemaDerivationMethod)builder.ParseBlockFinalEnum(value, "final"); 1370builder._element!.FixedValue = value; 1375builder.SetMaxOccurs(builder._element!, value); 1380builder.SetMinOccurs(builder._element!, value); 1385builder._element!.Name = value; 1390builder._element!.IsNillable = builder.ParseBoolean(value, "nillable"); 1395builder._element!.RefName = builder.ParseQName(value, "ref"); 1400builder._element!.SchemaTypeName = builder.ParseQName(value, "type"); 1431if (builder._element!.SchemaType != null) 1435if (builder._element.Constraints.Count != 0) 1439builder._element.SchemaType = builder._simpleType; 1594if (builder._element!.SchemaType != null) 1598if (builder._element.Constraints.Count != 0) 1602builder._element.SchemaType = builder._complexType; 2152if (!builder._element!.RefName.IsEmpty) 2169builder._element.Constraints.Add(builder._identityConstraint!);