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);
1355
XmlAttributes structAttrs = new
XmlAttributes
(xmlReflectionMember.MemberType!);
2298
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);
945
private static bool IsAnonymousType(
XmlAttributes
a, string? contextNs)
972
internal string XsdTypeName(Type type,
XmlAttributes
a, string name)
1011
XmlAttributes
a = GetAttributes(type, false);
1196
XmlAttributes
a = GetAttributes(model.Type, false);
1238
XmlAttributes
a = GetAttributes(model.FieldInfo);
1335
XmlAttributes
a = xmlReflectionMember.XmlAttributes;
1355
XmlAttributes
structAttrs = new XmlAttributes(xmlReflectionMember.MemberType!);
1414
private MemberMapping ImportFieldMapping(StructModel parent, FieldModel model,
XmlAttributes
a, string? ns, RecursionLimiter limiter)
1535
private void ImportAccessorMapping(MemberMapping accessor, FieldModel model,
XmlAttributes
a, string? ns, Type? choiceIdentifierType, bool rpc, bool openModel, RecursionLimiter limiter)
2050
private static void CheckTopLevelAttributes(
XmlAttributes
a)
2082
private void CheckAmbiguousChoice(
XmlAttributes
a, Type accessorType, string accessorName)
2150
private static object? GetDefaultValue(TypeDesc fieldTypeDesc, Type t,
XmlAttributes
a)
2298
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)
src\runtime\artifacts\obj\System.Xml.XmlSerializer\Release\net11.0\System.Xml.XmlSerializer.Forwards.cs (1)
32
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlAttributes
))]