7 instantiations of XmlAttributes
System.Private.Xml (7)
System\Xml\Serialization\Types.cs (1)
1283
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);
1349
XmlAttributes structAttrs = new
XmlAttributes
(xmlReflectionMember.MemberType!);
2262
XmlAttributes a = new
XmlAttributes
(type);
System\Xml\Serialization\XmlReflectionMember.cs (1)
17
private XmlAttributes _xmlAttributes = new
XmlAttributes
();
41 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)
1283
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);
940
private static bool IsAnonymousType(
XmlAttributes
a, string? contextNs)
967
internal string XsdTypeName(Type type,
XmlAttributes
a, string name)
1006
XmlAttributes
a = GetAttributes(type, false);
1190
XmlAttributes
a = GetAttributes(model.Type, false);
1232
XmlAttributes
a = GetAttributes(model.FieldInfo);
1329
XmlAttributes
a = xmlReflectionMember.XmlAttributes;
1349
XmlAttributes
structAttrs = new XmlAttributes(xmlReflectionMember.MemberType!);
1408
private MemberMapping ImportFieldMapping(StructModel parent, FieldModel model,
XmlAttributes
a, string? ns, RecursionLimiter limiter)
1529
private void ImportAccessorMapping(MemberMapping accessor, FieldModel model,
XmlAttributes
a, string? ns, Type? choiceIdentifierType, bool rpc, bool openModel, RecursionLimiter limiter)
2044
private static void CheckTopLevelAttributes(
XmlAttributes
a)
2076
private void CheckAmbiguousChoice(
XmlAttributes
a, Type accessorType, string accessorName)
2144
private static object? GetDefaultValue(TypeDesc fieldTypeDesc, Type t,
XmlAttributes
a)
2262
XmlAttributes
a = new XmlAttributes(type);
System\Xml\Serialization\XmlReflectionMember.cs (2)
17
private
XmlAttributes
_xmlAttributes = new XmlAttributes();
34
public
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
))]