1 write to _AttributeDef
System.Xml (1)
System\Xml\Schema\XdrBuilder.cs (1)
400
_AttributeDef
= new AttributeContent();
44 references to _AttributeDef
System.Xml (44)
System\Xml\Schema\XdrBuilder.cs (44)
588
builder.
_AttributeDef
._AttDef = null;
906
AttributeContent ad = builder.
_AttributeDef
;
928
builder.
_AttributeDef
._Name = qname;
929
builder.
_AttributeDef
._Prefix = prefix;
930
builder.
_AttributeDef
._AttDef.Name = qname;
934
builder._ElementDef._AttDefList.Add(qname, builder.
_AttributeDef
._AttDef);
943
builder.
_AttributeDef
._AttDef.Name = qname;
945
builder._SchemaInfo.AttributeDecls.Add(qname, builder.
_AttributeDef
._AttDef);
954
builder.
_AttributeDef
._Required = IsYes(obj, builder);
958
builder.
_AttributeDef
._Default = obj;
963
builder.
_AttributeDef
._HasDataType = true;
964
builder.
_AttributeDef
._AttDef.Datatype = builder.CheckDatatype(qname.Name);
968
builder.
_AttributeDef
._EnumerationRequired = true;
969
builder.
_AttributeDef
._AttDef.Values = new List<string>((string[]) obj);
973
ParseDtMaxLength(ref builder.
_AttributeDef
._MaxLength, obj, builder);
977
ParseDtMinLength(ref builder.
_AttributeDef
._MinLength, obj, builder);
981
if (builder.
_AttributeDef
._Name.IsEmpty) {
988
if (builder.
_AttributeDef
._HasDataType && builder.
_AttributeDef
._AttDef.Datatype != null) {
989
XmlTokenizedType ttype = builder.
_AttributeDef
._AttDef.Datatype.TokenizedType;
991
if (ttype == XmlTokenizedType.ENUMERATION && !builder.
_AttributeDef
._EnumerationRequired) {
996
if (ttype != XmlTokenizedType.ENUMERATION && builder.
_AttributeDef
._EnumerationRequired) {
1002
if (builder.
_AttributeDef
._Default != null && ttype == XmlTokenizedType.ID) {
1008
builder.
_AttributeDef
._AttDef.Datatype = XmlSchemaDatatype.FromXmlTokenizedType(XmlTokenizedType.CDATA);
1014
CompareMinMaxLength(builder.
_AttributeDef
._MinLength, builder.
_AttributeDef
._MaxLength, builder);
1015
builder.
_AttributeDef
._AttDef.MaxLength = builder.
_AttributeDef
._MaxLength;
1016
builder.
_AttributeDef
._AttDef.MinLength = builder.
_AttributeDef
._MinLength;
1021
if (builder.
_AttributeDef
._Default != null) {
1022
builder.
_AttributeDef
._AttDef.DefaultValueRaw = builder.
_AttributeDef
._AttDef.DefaultValueExpanded = (string)builder.
_AttributeDef
._Default;
1023
builder.CheckDefaultAttValue(builder.
_AttributeDef
._AttDef);
1026
builder.SetAttributePresence(builder.
_AttributeDef
._AttDef, builder.
_AttributeDef
._Required);
1284
if (builder.
_AttributeDef
._HasDataType) {
1292
if (!builder.
_AttributeDef
._HasDataType) {
1296
if(builder.
_AttributeDef
._AttDef.Datatype != null) {
1297
XmlTokenizedType ttype = builder.
_AttributeDef
._AttDef.Datatype.TokenizedType;
1299
if (ttype == XmlTokenizedType.ENUMERATION && !builder.
_AttributeDef
._EnumerationRequired) {
1302
else if (ttype != XmlTokenizedType.ENUMERATION && builder.
_AttributeDef
._EnumerationRequired) {
1545
if (!
_AttributeDef
._Global) {