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