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