13 references to XmlChoiceIdentifierAttribute
netstandard (1)
netstandard.cs (1)
2410
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlChoiceIdentifierAttribute
))]
System.Private.Xml (9)
System\Xml\Serialization\XmlAttributes.cs (4)
43
private readonly
XmlChoiceIdentifierAttribute
? _xmlChoiceIdentifier;
143
else if (attrs[i] is
XmlChoiceIdentifierAttribute
)
145
_xmlChoiceIdentifier = (
XmlChoiceIdentifierAttribute
)attrs[i];
288
public
XmlChoiceIdentifierAttribute
? XmlChoiceIdentifier
System\Xml\Serialization\XmlReflectionImporter.cs (5)
1456
private static Type GetChoiceIdentifierType(
XmlChoiceIdentifierAttribute
choice, XmlReflectionMember[] xmlReflectionMembers, bool isArrayLike, string accessorName)
1470
private static Type GetChoiceIdentifierType(
XmlChoiceIdentifierAttribute
choice, StructModel structModel, bool isArrayLike, string accessorName)
2093
throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierMissing, nameof(
XmlChoiceIdentifierAttribute
), accessorName));
2104
throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierMissing, nameof(
XmlChoiceIdentifierAttribute
), accessorName));
2119
throw new InvalidOperationException(SR.Format(SR.XmlArrayItemAmbiguousTypes, accessorName, item.ElementName, items[i]!.ElementName, nameof(XmlElementAttribute), nameof(
XmlChoiceIdentifierAttribute
), accessorName));
System.Xml (1)
System.Xml.cs (1)
135
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlChoiceIdentifierAttribute
))]
System.Xml.Serialization (1)
System.Xml.Serialization.cs (1)
14
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlChoiceIdentifierAttribute
))]
System.Xml.XmlSerializer (1)
artifacts\obj\System.Xml.XmlSerializer\Debug\net10.0\System.Xml.XmlSerializer.Forwards.cs (1)
33
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Serialization.
XmlChoiceIdentifierAttribute
))]