1 write to _AttributeDef
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (1)
415
_AttributeDef
= new AttributeContent();
44 references to _AttributeDef
dotnet-svcutil-lib (44)
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (44)
645
builder.
_AttributeDef
._AttDef = null;
1017
AttributeContent ad = builder.
_AttributeDef
;
1040
builder.
_AttributeDef
._Name = qname;
1041
builder.
_AttributeDef
._Prefix = prefix;
1042
builder.
_AttributeDef
._AttDef.Name = qname;
1048
builder._ElementDef._AttDefList.Add(qname, builder.
_AttributeDef
._AttDef);
1059
builder.
_AttributeDef
._AttDef.Name = qname;
1062
builder._SchemaInfo.AttributeDecls.Add(qname, builder.
_AttributeDef
._AttDef);
1073
builder.
_AttributeDef
._Required = IsYes(obj, builder);
1078
builder.
_AttributeDef
._Default = obj;
1084
builder.
_AttributeDef
._HasDataType = true;
1085
builder.
_AttributeDef
._AttDef.Datatype = builder.CheckDatatype(qname.Name);
1090
builder.
_AttributeDef
._EnumerationRequired = true;
1091
builder.
_AttributeDef
._AttDef.Values = new List<string>((string[])obj);
1096
ParseDtMaxLength(ref builder.
_AttributeDef
._MaxLength, obj, builder);
1101
ParseDtMinLength(ref builder.
_AttributeDef
._MinLength, obj, builder);
1106
if (builder.
_AttributeDef
._Name.IsEmpty)
1115
if (builder.
_AttributeDef
._HasDataType && builder.
_AttributeDef
._AttDef.Datatype != null)
1117
XmlTokenizedType ttype = builder.
_AttributeDef
._AttDef.Datatype.TokenizedType;
1119
if (ttype == XmlTokenizedType.ENUMERATION && !builder.
_AttributeDef
._EnumerationRequired)
1125
if (ttype != XmlTokenizedType.ENUMERATION && builder.
_AttributeDef
._EnumerationRequired)
1132
if (builder.
_AttributeDef
._Default != null && ttype == XmlTokenizedType.ID)
1140
builder.
_AttributeDef
._AttDef.Datatype = XmlSchemaDatatype.FromXmlTokenizedType(XmlTokenizedType.CDATA);
1146
CompareMinMaxLength(builder.
_AttributeDef
._MinLength, builder.
_AttributeDef
._MaxLength, builder);
1147
builder.
_AttributeDef
._AttDef.MaxLength = builder.
_AttributeDef
._MaxLength;
1148
builder.
_AttributeDef
._AttDef.MinLength = builder.
_AttributeDef
._MinLength;
1153
if (builder.
_AttributeDef
._Default != null)
1155
builder.
_AttributeDef
._AttDef.DefaultValueRaw = builder.
_AttributeDef
._AttDef.DefaultValueExpanded = (string)builder.
_AttributeDef
._Default;
1156
builder.CheckDefaultAttValue(builder.
_AttributeDef
._AttDef);
1159
builder.SetAttributePresence(builder.
_AttributeDef
._AttDef, builder.
_AttributeDef
._Required);
1458
if (builder.
_AttributeDef
._HasDataType)
1468
if (!builder.
_AttributeDef
._HasDataType)
1474
if (builder.
_AttributeDef
._AttDef.Datatype != null)
1476
XmlTokenizedType ttype = builder.
_AttributeDef
._AttDef.Datatype.TokenizedType;
1478
if (ttype == XmlTokenizedType.ENUMERATION && !builder.
_AttributeDef
._EnumerationRequired)
1482
else if (ttype != XmlTokenizedType.ENUMERATION && builder.
_AttributeDef
._EnumerationRequired)
1780
if (!
_AttributeDef
._Global)