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)
43private readonly XmlChoiceIdentifierAttribute? _xmlChoiceIdentifier; 143else if (attrs[i] is XmlChoiceIdentifierAttribute) 145_xmlChoiceIdentifier = (XmlChoiceIdentifierAttribute)attrs[i]; 288public XmlChoiceIdentifierAttribute? XmlChoiceIdentifier
System\Xml\Serialization\XmlReflectionImporter.cs (5)
1452private static Type GetChoiceIdentifierType(XmlChoiceIdentifierAttribute choice, XmlReflectionMember[] xmlReflectionMembers, bool isArrayLike, string accessorName) 1466private static Type GetChoiceIdentifierType(XmlChoiceIdentifierAttribute choice, StructModel structModel, bool isArrayLike, string accessorName) 2089throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierMissing, nameof(XmlChoiceIdentifierAttribute), accessorName)); 2100throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierMissing, nameof(XmlChoiceIdentifierAttribute), accessorName)); 2115throw 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))]