2 writes to _AttDef
System.Private.Xml (2)
System\Xml\Schema\XdrBuilder.cs (2)
634
builder._AttributeDef.
_AttDef
= null;
1012
ad.
_AttDef
= new SchemaAttDef(XmlQualifiedName.Empty, null);
17 references to _AttDef
System.Private.Xml (17)
System\Xml\Schema\XdrBuilder.cs (17)
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
))
1075
builder._AttributeDef.
_AttDef
!.Datatype = builder.CheckDatatype(qname.Name)!;
1081
builder._AttributeDef.
_AttDef
!.Values = new List<string>((string[])obj);
1105
if (builder._AttributeDef._HasDataType && builder._AttributeDef.
_AttDef
!.Datatype != null)
1107
XmlTokenizedType ttype = builder._AttributeDef.
_AttDef
.Datatype.TokenizedType;
1130
builder._AttributeDef.
_AttDef
!.Datatype = XmlSchemaDatatype.FromXmlTokenizedType(XmlTokenizedType.CDATA)!;
1137
builder._AttributeDef.
_AttDef
.MaxLength = builder._AttributeDef._MaxLength;
1138
builder._AttributeDef.
_AttDef
.MinLength = builder._AttributeDef._MinLength;
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);
1463
if (builder._AttributeDef.
_AttDef
!.Datatype != null)
1465
XmlTokenizedType ttype = builder._AttributeDef.
_AttDef
.Datatype.TokenizedType;