1 write to XmlAttribute
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
1580
a.
XmlAttribute
= new XmlAttributeAttribute();
21 references to XmlAttribute
dotnet-svcutil-lib (21)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (19)
1564
if (a.
XmlAttribute
!= null && !accessor.TypeDesc.ArrayElementTypeDesc.IsPrimitive && !accessor.TypeDesc.ArrayElementTypeDesc.IsEnum)
1576
bool isList = a.
XmlAttribute
!= null && (accessor.TypeDesc.ArrayElementTypeDesc.IsPrimitive || accessor.TypeDesc.ArrayElementTypeDesc.IsEnum);
1584
Type targetType = a.
XmlAttribute
.Type == null ? arrayElementType : a.
XmlAttribute
.Type;
1586
attribute.Name = Accessor.EscapeQName(a.
XmlAttribute
.AttributeName.Length == 0 ? accessorName : a.
XmlAttribute
.AttributeName);
1587
attribute.Namespace = a.
XmlAttribute
.Namespace == null ? ns : a.
XmlAttribute
.Namespace;
1588
attribute.Form = a.
XmlAttribute
.Form;
1595
attribute.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(targetType), ns, ImportContext.Attribute, a.
XmlAttribute
.DataType, null, isList, false, limiter);
1762
if (a.
XmlAttribute
!= null)
1765
if (a.
XmlAttribute
.Type != null) throw new InvalidOperationException(string.Format(ResXml.XmlIllegalType, "XmlAttribute"));
1767
attribute.Name = Accessor.EscapeQName(a.
XmlAttribute
.AttributeName.Length == 0 ? accessorName : a.
XmlAttribute
.AttributeName);
1768
attribute.Namespace = a.
XmlAttribute
.Namespace == null ? ns : a.
XmlAttribute
.Namespace;
1769
attribute.Form = a.
XmlAttribute
.Form;
1776
attribute.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(accessorType), ns, ImportContext.Attribute, a.
XmlAttribute
.DataType, null, limiter);
1858
if (a.
XmlAttribute
!= null || a.XmlText != null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
845
if (member.XmlAttributes.
XmlAttribute
!= null)
916
xmlAttributes.
XmlAttribute
== null &&