2 writes to element
System.Xml (2)
System\Xml\Schema\XsdBuilder.cs (2)
953
this.
element
= (XmlSchemaElement)container;
1249
builder.xso = builder.
element
= new XmlSchemaElement();
26 references to element
System.Xml (26)
System\Xml\Schema\XsdBuilder.cs (26)
830
container = this.
element
;
1253
builder.schema.Items.Add(builder.
element
);
1256
builder.all.Items.Add(builder.
element
);
1259
builder.choice.Items.Add(builder.
element
);
1262
builder.sequence.Items.Add(builder.
element
);
1271
builder.
element
.IsAbstract = builder.ParseBoolean(value, "abstract");
1275
builder.
element
.Block = (XmlSchemaDerivationMethod)builder.ParseBlockFinalEnum(value, "block");
1279
builder.
element
.DefaultValue = value;
1283
builder.
element
.Form = (XmlSchemaForm)builder.ParseEnum(value, "form", FormStringValues);
1287
builder.
element
.SubstitutionGroup = builder.ParseQName(value, "substitutionGroup");
1291
builder.
element
.Final = (XmlSchemaDerivationMethod)builder.ParseBlockFinalEnum(value, "final");
1295
builder.
element
.FixedValue = value;
1299
builder.SetMaxOccurs(builder.
element
, value);
1303
builder.SetMinOccurs(builder.
element
, value);
1307
builder.
element
.Name = value;
1311
builder.
element
.IsNillable = builder.ParseBoolean(value, "nillable");
1315
builder.
element
.RefName = builder.ParseQName(value, "ref");
1319
builder.
element
.SchemaTypeName = builder.ParseQName(value, "type");
1347
if (builder.
element
.SchemaType != null) {
1350
if (builder.
element
.Constraints.Count != 0) {
1353
builder.
element
.SchemaType = builder.simpleType;
1487
if (builder.
element
.SchemaType != null) {
1490
if (builder.
element
.Constraints.Count != 0) {
1493
builder.
element
.SchemaType = builder.complexType;
1981
if (!builder.
element
.RefName.IsEmpty) {
1996
builder.
element
.Constraints.Add(builder.identityConstraint);