1 write to _AttributeDef
System.Private.Xml (1)
System\Xml\Schema\XdrBuilder.cs (1)
412
_AttributeDef
= new AttributeContent();
44 references to _AttributeDef
System.Private.Xml (44)
System\Xml\Schema\XdrBuilder.cs (44)
634
builder.
_AttributeDef
._AttDef = null;
1011
AttributeContent ad = builder.
_AttributeDef
;
1034
builder.
_AttributeDef
._Name = qname;
1035
builder.
_AttributeDef
._Prefix = prefix;
1036
builder.
_AttributeDef
._AttDef!.Name = qname;
1042
builder._ElementDef._AttDefList.Add(qname, builder.
_AttributeDef
._AttDef);
1053
builder.
_AttributeDef
._AttDef.Name = qname;
1054
if (!builder._SchemaInfo.AttributeDecls.TryAdd(qname, builder.
_AttributeDef
._AttDef))
1063
builder.
_AttributeDef
._Required = IsYes(obj, builder);
1068
builder.
_AttributeDef
._Default = obj;
1074
builder.
_AttributeDef
._HasDataType = true;
1075
builder.
_AttributeDef
._AttDef!.Datatype = builder.CheckDatatype(qname.Name)!;
1080
builder.
_AttributeDef
._EnumerationRequired = true;
1081
builder.
_AttributeDef
._AttDef!.Values = new List<string>((string[])obj);
1086
ParseDtMaxLength(ref builder.
_AttributeDef
._MaxLength, obj, builder);
1091
ParseDtMinLength(ref builder.
_AttributeDef
._MinLength, obj, builder);
1096
if (builder.
_AttributeDef
._Name!.IsEmpty)
1105
if (builder.
_AttributeDef
._HasDataType && builder.
_AttributeDef
._AttDef!.Datatype != null)
1107
XmlTokenizedType ttype = builder.
_AttributeDef
._AttDef.Datatype.TokenizedType;
1109
if (ttype == XmlTokenizedType.ENUMERATION && !builder.
_AttributeDef
._EnumerationRequired)
1115
if (ttype != XmlTokenizedType.ENUMERATION && builder.
_AttributeDef
._EnumerationRequired)
1122
if (builder.
_AttributeDef
._Default != null && ttype == XmlTokenizedType.ID)
1130
builder.
_AttributeDef
._AttDef!.Datatype = XmlSchemaDatatype.FromXmlTokenizedType(XmlTokenizedType.CDATA)!;
1136
CompareMinMaxLength(builder.
_AttributeDef
._MinLength, builder.
_AttributeDef
._MaxLength, builder);
1137
builder.
_AttributeDef
._AttDef.MaxLength = builder.
_AttributeDef
._MaxLength;
1138
builder.
_AttributeDef
._AttDef.MinLength = builder.
_AttributeDef
._MinLength;
1143
if (builder.
_AttributeDef
._Default != null)
1145
builder.
_AttributeDef
._AttDef.DefaultValueRaw = builder.
_AttributeDef
._AttDef.DefaultValueExpanded = (string)builder.
_AttributeDef
._Default;
1146
builder.CheckDefaultAttValue(builder.
_AttributeDef
._AttDef);
1149
XdrBuilder.SetAttributePresence(builder.
_AttributeDef
._AttDef, builder.
_AttributeDef
._Required);
1447
if (builder.
_AttributeDef
._HasDataType)
1457
if (!builder.
_AttributeDef
._HasDataType)
1463
if (builder.
_AttributeDef
._AttDef!.Datatype != null)
1465
XmlTokenizedType ttype = builder.
_AttributeDef
._AttDef.Datatype.TokenizedType;
1467
if (ttype == XmlTokenizedType.ENUMERATION && !builder.
_AttributeDef
._EnumerationRequired)
1471
else if (ttype != XmlTokenizedType.ENUMERATION && builder.
_AttributeDef
._EnumerationRequired)
1769
if (!
_AttributeDef
._Global)