1 write to XmlAttribute
System.Private.Xml (1)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1600
a.
XmlAttribute
= new XmlAttributeAttribute();
19 references to XmlAttribute
System.Private.Xml (17)
System\Xml\Serialization\XmlReflectionImporter.cs (17)
1584
if (a.
XmlAttribute
!= null && !accessor.TypeDesc.ArrayElementTypeDesc!.IsPrimitive && !accessor.TypeDesc.ArrayElementTypeDesc.IsEnum)
1596
bool isList = a.
XmlAttribute
!= null && (accessor.TypeDesc.ArrayElementTypeDesc!.IsPrimitive || accessor.TypeDesc.ArrayElementTypeDesc.IsEnum);
1604
Type targetType = a.
XmlAttribute
!.Type == null ? arrayElementType : a.
XmlAttribute
.Type!;
1606
attribute.Name = Accessor.EscapeQName(a.
XmlAttribute
.AttributeName.Length == 0 ? accessorName : a.
XmlAttribute
.AttributeName);
1607
attribute.Namespace = a.
XmlAttribute
.Namespace ?? ns;
1608
attribute.Form = a.
XmlAttribute
.Form;
1615
attribute.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(targetType), ns, ImportContext.Attribute, a.
XmlAttribute
.DataType, null, isList, false, limiter);
1780
if (a.
XmlAttribute
!= null)
1783
if (a.
XmlAttribute
.Type != null) throw new InvalidOperationException(SR.Format(SR.XmlIllegalType, "XmlAttribute"));
1785
attribute.Name = Accessor.EscapeQName(a.
XmlAttribute
.AttributeName.Length == 0 ? accessorName : a.
XmlAttribute
.AttributeName);
1786
attribute.Namespace = a.
XmlAttribute
.Namespace ?? ns;
1787
attribute.Form = a.
XmlAttribute
.Form;
1794
attribute.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(accessorType), ns, ImportContext.Attribute, a.
XmlAttribute
.DataType, null, limiter);
1875
if (a.
XmlAttribute
!= null || a.XmlText != null)
System.ServiceModel.Primitives (2)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
1132
if (member.XmlAttributes.
XmlAttribute
!= null)
1234
xmlAttributes.
XmlAttribute
== null &&