7 instantiations of XmlAttributes
System.Private.Xml (7)
System\Xml\Serialization\Types.cs (1)
1283XmlAttributes methodAttrs = new XmlAttributes(enumerator);
System\Xml\Serialization\XmlReflectionImporter.cs (5)
28private readonly XmlAttributes _defaultAttributes = new XmlAttributes(); 256return new XmlAttributes(type); 263return new XmlAttributes(memberInfo); 1349XmlAttributes structAttrs = new XmlAttributes(xmlReflectionMember.MemberType!); 2262XmlAttributes a = new XmlAttributes(type);
System\Xml\Serialization\XmlReflectionMember.cs (1)
17private 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)
1283XmlAttributes methodAttrs = new XmlAttributes(enumerator);
System\Xml\Serialization\XmlAttributeOverrides.cs (10)
19private readonly Dictionary<Type, Dictionary<string, XmlAttributes?>> _types = new Dictionary<Type, Dictionary<string, XmlAttributes?>>(); 24public void Add(Type type, XmlAttributes attributes) 32public void Add(Type type, string member, XmlAttributes? attributes) 34Dictionary<string, XmlAttributes?>? members; 37members = new Dictionary<string, XmlAttributes?>(); 50public XmlAttributes? this[Type type] 61public XmlAttributes? this[Type type, string member] 65Dictionary<string, XmlAttributes?>? members; 66XmlAttributes? attributes;
System\Xml\Serialization\XmlMapping.cs (1)
116root ??= (XmlRootAttribute?)XmlAttributes.GetAttr(type, typeof(XmlRootAttribute));
System\Xml\Serialization\XmlReflectionImporter.cs (23)
28private readonly XmlAttributes _defaultAttributes = new XmlAttributes(); 248private XmlAttributes GetAttributes(Type type, bool canBeSimpleType) 250XmlAttributes? attrs = _attributeOverrides[type]; 259private XmlAttributes GetAttributes(MemberInfo memberInfo) 261XmlAttributes? attrs = _attributeOverrides[memberInfo.DeclaringType!, memberInfo.Name]; 270XmlAttributes a = GetAttributes(model.Type, true); 391private TypeMapping ImportTypeMapping(TypeModel model, string? ns, ImportContext context, string dataType, XmlAttributes? a, RecursionLimiter limiter) 398private TypeMapping ImportTypeMapping(TypeModel model, string? ns, ImportContext context, string dataType, XmlAttributes? a, bool repeats, bool openModel, RecursionLimiter limiter) 728private StructMapping ImportStructLikeMapping(StructModel model, string? ns, bool openModel, XmlAttributes? a, RecursionLimiter limiter) 855XmlAttributes memberAttrs = GetAttributes(memberInfo); 940private static bool IsAnonymousType(XmlAttributes a, string? contextNs) 967internal string XsdTypeName(Type type, XmlAttributes a, string name) 1006XmlAttributes a = GetAttributes(type, false); 1190XmlAttributes a = GetAttributes(model.Type, false); 1232XmlAttributes a = GetAttributes(model.FieldInfo); 1329XmlAttributes a = xmlReflectionMember.XmlAttributes; 1349XmlAttributes structAttrs = new XmlAttributes(xmlReflectionMember.MemberType!); 1408private MemberMapping ImportFieldMapping(StructModel parent, FieldModel model, XmlAttributes a, string? ns, RecursionLimiter limiter) 1529private void ImportAccessorMapping(MemberMapping accessor, FieldModel model, XmlAttributes a, string? ns, Type? choiceIdentifierType, bool rpc, bool openModel, RecursionLimiter limiter) 2044private static void CheckTopLevelAttributes(XmlAttributes a) 2076private void CheckAmbiguousChoice(XmlAttributes a, Type accessorType, string accessorName) 2144private static object? GetDefaultValue(TypeDesc fieldTypeDesc, Type t, XmlAttributes a) 2262XmlAttributes a = new XmlAttributes(type);
System\Xml\Serialization\XmlReflectionMember.cs (2)
17private XmlAttributes _xmlAttributes = new XmlAttributes(); 34public 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))]