2 writes to _element
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (2)
999
_element
= (XmlSchemaElement)container;
1323
builder._xso = builder.
_element
= new XmlSchemaElement();
26 references to _element
dotnet-svcutil-lib (26)
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (26)
874
container =
_element
;
1328
builder._schema.Items.Add(builder.
_element
);
1331
builder._all.Items.Add(builder.
_element
);
1334
builder._choice.Items.Add(builder.
_element
);
1337
builder._sequence.Items.Add(builder.
_element
);
1347
builder.
_element
.IsAbstract = builder.ParseBoolean(value, "abstract");
1352
builder.
_element
.Block = (XmlSchemaDerivationMethod)builder.ParseBlockFinalEnum(value, "block");
1357
builder.
_element
.DefaultValue = value;
1362
builder.
_element
.Form = (XmlSchemaForm)builder.ParseEnum(value, "form", s_formStringValues);
1367
builder.
_element
.SubstitutionGroup = builder.ParseQName(value, "substitutionGroup");
1372
builder.
_element
.Final = (XmlSchemaDerivationMethod)builder.ParseBlockFinalEnum(value, "final");
1377
builder.
_element
.FixedValue = value;
1382
builder.SetMaxOccurs(builder.
_element
, value);
1387
builder.SetMinOccurs(builder.
_element
, value);
1392
builder.
_element
.Name = value;
1397
builder.
_element
.IsNillable = builder.ParseBoolean(value, "nillable");
1402
builder.
_element
.RefName = builder.ParseQName(value, "ref");
1407
builder.
_element
.SchemaTypeName = builder.ParseQName(value, "type");
1438
if (builder.
_element
.SchemaType != null)
1442
if (builder.
_element
.Constraints.Count != 0)
1446
builder.
_element
.SchemaType = builder._simpleType;
1599
if (builder.
_element
.SchemaType != null)
1603
if (builder.
_element
.Constraints.Count != 0)
1607
builder.
_element
.SchemaType = builder._complexType;
2157
if (!builder.
_element
.RefName.IsEmpty)
2174
builder.
_element
.Constraints.Add(builder._identityConstraint);