10 references to MemberName
System.Private.Xml (10)
System\Xml\Serialization\XmlReflectionImporter.cs (10)
1456if (choice.MemberName == xmlReflectionMembers[i].MemberName) 1458return CheckChoiceIdentifierType(xmlReflectionMembers[i].MemberType!, isArrayLike, choice.MemberName, accessorName); 1462throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierMemberMissing, choice.MemberName, accessorName)); 1470MemberInfo[] infos = structModel.Type.GetMember(choice.MemberName, BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static); 1474PropertyInfo? info = structModel.Type.GetProperty(choice.MemberName, BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static); 1479throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierMemberMissing, choice.MemberName, accessorName)); 1486throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierAmbiguous, choice.MemberName)); 1493throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierMemberMissing, choice.MemberName, accessorName)); 1497enumType = CheckChoiceIdentifierType(enumType, isArrayLike, choice.MemberName, accessorName); 1563accessor.ChoiceIdentifier.MemberName = a.XmlChoiceIdentifier.MemberName;