9 instantiations of XmlAttributes
System.Private.Xml (7)
System\Xml\Serialization\Types.cs (1)
1368
XmlAttributes methodAttrs = new
XmlAttributes
(enumerator);
System\Xml\Serialization\XmlReflectionImporter.cs (5)
28
private readonly XmlAttributes _defaultAttributes = new
XmlAttributes
();
256
return new
XmlAttributes
(type);
263
return new
XmlAttributes
(memberInfo);
1354
XmlAttributes structAttrs = new
XmlAttributes
(xmlReflectionMember.MemberType!);
2297
XmlAttributes a = new
XmlAttributes
(type);
System\Xml\Serialization\XmlReflectionMember.cs (1)
17
private XmlAttributes _xmlAttributes = new
XmlAttributes
();
System.ServiceModel.Primitives (2)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
1086
member.XmlAttributes = new
XmlAttributes
(additionalAttributesProvider);
1127
member.XmlAttributes = new
XmlAttributes
();
42 references to XmlAttributes
netstandard (1)
netstandard.cs (1)
2409
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlAttributes
))]
System.Private.Xml (37)
System\Xml\Serialization\Types.cs (1)
1368
XmlAttributes
methodAttrs = new XmlAttributes(enumerator);
System\Xml\Serialization\XmlAttributeOverrides.cs (10)
19
private readonly Dictionary<Type, Dictionary<string,
XmlAttributes
?>> _types = new Dictionary<Type, Dictionary<string,
XmlAttributes
?>>();
24
public void Add(Type type,
XmlAttributes
attributes)
32
public void Add(Type type, string member,
XmlAttributes
? attributes)
34
Dictionary<string,
XmlAttributes
?>? members;
37
members = new Dictionary<string,
XmlAttributes
?>();
50
public
XmlAttributes
? this[Type type]
61
public
XmlAttributes
? this[Type type, string member]
65
Dictionary<string,
XmlAttributes
?>? members;
66
XmlAttributes
? attributes;
System\Xml\Serialization\XmlMapping.cs (1)
116
root ??= (XmlRootAttribute?)
XmlAttributes
.GetAttr(type, typeof(XmlRootAttribute));
System\Xml\Serialization\XmlReflectionImporter.cs (23)
28
private readonly
XmlAttributes
_defaultAttributes = new XmlAttributes();
248
private
XmlAttributes
GetAttributes(Type type, bool canBeSimpleType)
250
XmlAttributes
? attrs = _attributeOverrides[type];
259
private
XmlAttributes
GetAttributes(MemberInfo memberInfo)
261
XmlAttributes
? attrs = _attributeOverrides[memberInfo.DeclaringType!, memberInfo.Name];
270
XmlAttributes
a = GetAttributes(model.Type, true);
391
private TypeMapping ImportTypeMapping(TypeModel model, string? ns, ImportContext context, string dataType,
XmlAttributes
? a, RecursionLimiter limiter)
398
private TypeMapping ImportTypeMapping(TypeModel model, string? ns, ImportContext context, string dataType,
XmlAttributes
? a, bool repeats, bool openModel, RecursionLimiter limiter)
728
private StructMapping ImportStructLikeMapping(StructModel model, string? ns, bool openModel,
XmlAttributes
? a, RecursionLimiter limiter)
855
XmlAttributes
memberAttrs = GetAttributes(memberInfo);
944
private static bool IsAnonymousType(
XmlAttributes
a, string? contextNs)
971
internal string XsdTypeName(Type type,
XmlAttributes
a, string name)
1010
XmlAttributes
a = GetAttributes(type, false);
1195
XmlAttributes
a = GetAttributes(model.Type, false);
1237
XmlAttributes
a = GetAttributes(model.FieldInfo);
1334
XmlAttributes
a = xmlReflectionMember.XmlAttributes;
1354
XmlAttributes
structAttrs = new XmlAttributes(xmlReflectionMember.MemberType!);
1413
private MemberMapping ImportFieldMapping(StructModel parent, FieldModel model,
XmlAttributes
a, string? ns, RecursionLimiter limiter)
1534
private void ImportAccessorMapping(MemberMapping accessor, FieldModel model,
XmlAttributes
a, string? ns, Type? choiceIdentifierType, bool rpc, bool openModel, RecursionLimiter limiter)
2049
private static void CheckTopLevelAttributes(
XmlAttributes
a)
2081
private void CheckAmbiguousChoice(
XmlAttributes
a, Type accessorType, string accessorName)
2149
private static object? GetDefaultValue(TypeDesc fieldTypeDesc, Type t,
XmlAttributes
a)
2297
XmlAttributes
a = new XmlAttributes(type);
System\Xml\Serialization\XmlReflectionMember.cs (2)
17
private
XmlAttributes
_xmlAttributes = new XmlAttributes();
34
public
XmlAttributes
XmlAttributes
System.ServiceModel.Primitives (1)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
1229
private static bool HasNoXmlParameterAttributes(
XmlAttributes
xmlAttributes)
System.Xml (1)
System.Xml.cs (1)
134
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlAttributes
))]
System.Xml.Serialization (1)
System.Xml.Serialization.cs (1)
13
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlAttributes
))]
System.Xml.XmlSerializer (1)
artifacts\obj\System.Xml.XmlSerializer\Debug\net10.0\System.Xml.XmlSerializer.Forwards.cs (1)
32
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlAttributes
))]