11 references to XmlChoiceIdentifierAttribute
System.ServiceModel (1)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
997invalidAttributeType = typeof(XmlChoiceIdentifierAttribute);
System.Xml (10)
System\Xml\Serialization\XmlAttributes.cs (4)
47XmlChoiceIdentifierAttribute xmlChoiceIdentifier; 143else if (attrs[i] is XmlChoiceIdentifierAttribute) { 144this.xmlChoiceIdentifier = (XmlChoiceIdentifierAttribute)attrs[i]; 283public XmlChoiceIdentifierAttribute XmlChoiceIdentifier {
System\Xml\Serialization\XmlCodeExporter.cs (1)
693CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(XmlChoiceIdentifierAttribute).FullName);
System\Xml\Serialization\XmlReflectionImporter.cs (5)
1256Type GetChoiceIdentifierType(XmlChoiceIdentifierAttribute choice, XmlReflectionMember[] xmlReflectionMembers, bool isArrayLike, string accessorName) { 1266Type GetChoiceIdentifierType(XmlChoiceIdentifierAttribute choice, StructModel structModel, bool isArrayLike, string accessorName) { 1812throw new InvalidOperationException(Res.GetString(Res.XmlChoiceIdentiferMissing, typeof(XmlChoiceIdentifierAttribute).Name, accessorName)); 1821throw new InvalidOperationException(Res.GetString(Res.XmlChoiceIdentiferMissing, typeof(XmlChoiceIdentifierAttribute).Name, accessorName)); 1833throw new InvalidOperationException(Res.GetString(Res.XmlArrayItemAmbiguousTypes, accessorName, item.ElementName, items[i].ElementName, typeof(XmlElementAttribute).Name, typeof(XmlChoiceIdentifierAttribute).Name, accessorName));