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