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