1 write to XmlAttribute
System.Private.Xml (1)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1599
a.
XmlAttribute
= new XmlAttributeAttribute();
19 references to XmlAttribute
System.Private.Xml (17)
System\Xml\Serialization\XmlReflectionImporter.cs (17)
1583
if (a.
XmlAttribute
!= null && !accessor.TypeDesc.ArrayElementTypeDesc!.IsPrimitive && !accessor.TypeDesc.ArrayElementTypeDesc.IsEnum)
1595
bool isList = a.
XmlAttribute
!= null && (accessor.TypeDesc.ArrayElementTypeDesc!.IsPrimitive || accessor.TypeDesc.ArrayElementTypeDesc.IsEnum);
1603
Type targetType = a.
XmlAttribute
!.Type == null ? arrayElementType : a.
XmlAttribute
.Type!;
1605
attribute.Name = Accessor.EscapeQName(a.
XmlAttribute
.AttributeName.Length == 0 ? accessorName : a.
XmlAttribute
.AttributeName);
1606
attribute.Namespace = a.
XmlAttribute
.Namespace ?? ns;
1607
attribute.Form = a.
XmlAttribute
.Form;
1614
attribute.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(targetType), ns, ImportContext.Attribute, a.
XmlAttribute
.DataType, null, isList, false, limiter);
1779
if (a.
XmlAttribute
!= null)
1782
if (a.
XmlAttribute
.Type != null) throw new InvalidOperationException(SR.Format(SR.XmlIllegalType, "XmlAttribute"));
1784
attribute.Name = Accessor.EscapeQName(a.
XmlAttribute
.AttributeName.Length == 0 ? accessorName : a.
XmlAttribute
.AttributeName);
1785
attribute.Namespace = a.
XmlAttribute
.Namespace ?? ns;
1786
attribute.Form = a.
XmlAttribute
.Form;
1793
attribute.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(accessorType), ns, ImportContext.Attribute, a.
XmlAttribute
.DataType, null, limiter);
1874
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 &&