Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ImportAccessorMapping()

void System.Xml.Serialization.XmlReflectionImporter.ImportAccessorMapping ( MemberMapping accessor,
FieldModel model,
XmlAttributes a,
string ns,
Type choiceIdentifierType,
bool rpc,
bool openModel,
RecursionLimiter limiter )
inlineprivate

Definition at line 1536 of file XmlReflectionImporter.cs.

1537 {
1540 int num = -1;
1541 XmlArrayItemAttributes savedArrayItemAttributes = _savedArrayItemAttributes;
1545 _savedArrayNamespace = null;
1546 Type fieldType = model.FieldType;
1547 string name = model.Name;
1549 NameTable nameTable = new NameTable();
1551 XmlAttributeFlags xmlFlags = a.XmlFlags;
1552 accessor.Ignore = a.XmlIgnore;
1553 if (rpc)
1554 {
1556 }
1557 else
1558 {
1560 }
1564 if ((xmlFlags & xmlAttributeFlags3) != 0 && fieldType == typeof(byte[]))
1565 {
1567 }
1568 if (a.XmlChoiceIdentifier != null)
1569 {
1570 accessor.ChoiceIdentifier = new ChoiceIdentifierAccessor();
1571 accessor.ChoiceIdentifier.MemberName = a.XmlChoiceIdentifier.MemberName;
1572 accessor.ChoiceIdentifier.MemberInfo = a.XmlChoiceIdentifier.GetMemberInfo();
1574 CheckChoiceIdentifierMapping((EnumMapping)accessor.ChoiceIdentifier.Mapping);
1575 }
1576 if (accessor.TypeDesc.IsArrayLike)
1577 {
1578 Type arrayElementType = TypeScope.GetArrayElementType(fieldType, model.FieldTypeDesc.FullName + "." + model.Name);
1579 if ((xmlFlags & xmlAttributeFlags2) != 0)
1580 {
1582 {
1584 }
1585 if (a.XmlAttribute != null && !accessor.TypeDesc.ArrayElementTypeDesc.IsPrimitive && !accessor.TypeDesc.ArrayElementTypeDesc.IsEnum)
1586 {
1587 if (accessor.TypeDesc.ArrayElementTypeDesc.Kind == TypeKind.Serializable)
1588 {
1589 throw new InvalidOperationException(System.SR.Format(System.SR.XmlIllegalAttrOrTextInterface, name, accessor.TypeDesc.ArrayElementTypeDesc.FullName, "IXmlSerializable"));
1590 }
1591 throw new InvalidOperationException(System.SR.Format(System.SR.XmlIllegalAttrOrText, name, accessor.TypeDesc.ArrayElementTypeDesc.FullName));
1592 }
1593 bool flag = a.XmlAttribute != null && (accessor.TypeDesc.ArrayElementTypeDesc.IsPrimitive || accessor.TypeDesc.ArrayElementTypeDesc.IsEnum);
1594 if (a.XmlAnyAttribute != null)
1595 {
1596 a.XmlAttribute = new XmlAttributeAttribute();
1597 }
1598 AttributeAccessor attributeAccessor = new AttributeAccessor();
1599 Type type = ((a.XmlAttribute.Type == null) ? arrayElementType : a.XmlAttribute.Type);
1600 TypeDesc typeDesc = _typeScope.GetTypeDesc(type);
1601 attributeAccessor.Name = Accessor.EscapeQName((a.XmlAttribute.AttributeName.Length == 0) ? name : a.XmlAttribute.AttributeName);
1602 attributeAccessor.Namespace = ((a.XmlAttribute.Namespace == null) ? ns : a.XmlAttribute.Namespace);
1603 attributeAccessor.Form = a.XmlAttribute.Form;
1604 if (attributeAccessor.Form == XmlSchemaForm.None && ns != attributeAccessor.Namespace)
1605 {
1607 }
1608 attributeAccessor.CheckSpecial();
1609 CheckForm(attributeAccessor.Form, ns != attributeAccessor.Namespace);
1610 attributeAccessor.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(type), ns, ImportContext.Attribute, a.XmlAttribute.DataType, null, flag, openModel: false, limiter);
1612 attributeAccessor.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a);
1614 if (attributeAccessor.Form == XmlSchemaForm.Qualified && attributeAccessor.Namespace != ns)
1615 {
1616 if (_xsdAttributes == null)
1617 {
1618 _xsdAttributes = new NameTable();
1619 }
1621 }
1623 }
1624 else if ((xmlFlags & xmlAttributeFlags) != 0)
1625 {
1627 {
1629 }
1630 if (a.XmlText != null)
1631 {
1632 TextAccessor textAccessor = new TextAccessor();
1637 if (!(textAccessor.Mapping is SpecialMapping) && typeDesc2 != _typeScope.GetTypeDesc(typeof(string)))
1638 {
1640 }
1642 }
1643 if (a.XmlText == null && a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0)
1644 {
1645 a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc));
1646 }
1647 for (int i = 0; i < a.XmlElements.Count; i++)
1648 {
1649 XmlElementAttribute xmlElementAttribute = a.XmlElements[i];
1653 ElementAccessor elementAccessor = new ElementAccessor();
1656 if (a.XmlElements.Count == 1)
1657 {
1658 elementAccessor.Name = XmlConvert.EncodeLocalName((xmlElementAttribute.ElementName.Length == 0) ? name : xmlElementAttribute.ElementName);
1659 }
1660 else
1661 {
1662 elementAccessor.Name = ((xmlElementAttribute.ElementName.Length == 0) ? elementAccessor.Mapping.DefaultElementName : XmlConvert.EncodeLocalName(xmlElementAttribute.ElementName));
1663 }
1664 elementAccessor.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a);
1665 if (xmlElementAttribute.GetIsNullableSpecified() && !xmlElementAttribute.IsNullable && typeModel.TypeDesc.IsOptionalValue)
1666 {
1667 throw new InvalidOperationException(System.SR.Format(System.SR.XmlInvalidNotNullable, typeModel.TypeDesc.BaseTypeDesc.FullName, "XmlElement"));
1668 }
1669 elementAccessor.IsNullable = (xmlElementAttribute.GetIsNullableSpecified() ? xmlElementAttribute.IsNullable : typeModel.TypeDesc.IsOptionalValue);
1672 if (!rpc)
1673 {
1674 CheckForm(elementAccessor.Form, ns != elementAccessor.Namespace);
1676 }
1677 if (xmlElementAttribute.Order != -1)
1678 {
1679 if (xmlElementAttribute.Order != num && num != -1)
1680 {
1682 }
1683 num = xmlElementAttribute.Order;
1684 }
1687 }
1688 NameTable nameTable2 = new NameTable();
1689 for (int j = 0; j < a.XmlAnyElements.Count; j++)
1690 {
1691 XmlAnyElementAttribute xmlAnyElementAttribute = a.XmlAnyElements[j];
1692 Type type4 = (typeof(IXmlSerializable).IsAssignableFrom(arrayElementType) ? arrayElementType : (typeof(XmlNode).IsAssignableFrom(arrayElementType) ? arrayElementType : typeof(XmlElement)));
1693 if (!arrayElementType.IsAssignableFrom(type4))
1694 {
1696 }
1697 string name2 = ((xmlAnyElementAttribute.Name.Length == 0) ? xmlAnyElementAttribute.Name : XmlConvert.EncodeLocalName(xmlAnyElementAttribute.Name));
1698 string text = (xmlAnyElementAttribute.GetNamespaceSpecified() ? xmlAnyElementAttribute.Namespace : null);
1699 if (nameTable2[name2, text] != null)
1700 {
1701 continue;
1702 }
1704 if (nameTable[name2, (text == null) ? ns : text] != null)
1705 {
1707 }
1708 ElementAccessor elementAccessor2 = new ElementAccessor();
1710 elementAccessor2.Namespace = ((text == null) ? ns : text);
1711 elementAccessor2.Any = true;
1715 if (elementAccessor2.Name.Length > 0)
1716 {
1718 }
1720 elementAccessor2.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a);
1724 if (!rpc)
1725 {
1726 CheckForm(elementAccessor2.Form, ns != elementAccessor2.Namespace);
1728 }
1731 if (xmlAnyElementAttribute.Order != -1)
1732 {
1733 if (xmlAnyElementAttribute.Order != num && num != -1)
1734 {
1736 }
1737 num = xmlAnyElementAttribute.Order;
1738 }
1739 }
1740 }
1741 else
1742 {
1744 {
1746 }
1748 if (a.XmlArray == null)
1749 {
1751 }
1752 if (CountAtLevel(a.XmlArrayItems, _arrayNestingLevel) == 0)
1753 {
1755 }
1756 ElementAccessor elementAccessor3 = new ElementAccessor();
1757 elementAccessor3.Name = XmlConvert.EncodeLocalName((a.XmlArray.ElementName.Length == 0) ? name : a.XmlArray.ElementName);
1758 elementAccessor3.Namespace = (rpc ? null : ((a.XmlArray.Namespace == null) ? ns : a.XmlArray.Namespace));
1759 _savedArrayItemAttributes = a.XmlArrayItems;
1763 elementAccessor3.IsNullable = a.XmlArray.IsNullable;
1765 num = a.XmlArray.Order;
1766 CheckNullable(elementAccessor3.IsNullable, accessor.TypeDesc, elementAccessor3.Mapping);
1767 if (!rpc)
1768 {
1769 CheckForm(elementAccessor3.Form, ns != elementAccessor3.Namespace);
1771 }
1773 _savedArrayNamespace = null;
1776 }
1777 }
1778 else if (!accessor.TypeDesc.IsVoid)
1779 {
1782 {
1784 }
1785 if (accessor.TypeDesc.IsPrimitive || accessor.TypeDesc.IsEnum)
1786 {
1787 if (a.XmlAnyElements.Count > 0)
1788 {
1790 }
1791 if (a.XmlAttribute != null)
1792 {
1793 if (a.XmlElements.Count > 0)
1794 {
1796 }
1797 if (a.XmlAttribute.Type != null)
1798 {
1799 throw new InvalidOperationException(System.SR.Format(System.SR.XmlIllegalType, "XmlAttribute"));
1800 }
1801 AttributeAccessor attributeAccessor2 = new AttributeAccessor();
1802 attributeAccessor2.Name = Accessor.EscapeQName((a.XmlAttribute.AttributeName.Length == 0) ? name : a.XmlAttribute.AttributeName);
1803 attributeAccessor2.Namespace = ((a.XmlAttribute.Namespace == null) ? ns : a.XmlAttribute.Namespace);
1804 attributeAccessor2.Form = a.XmlAttribute.Form;
1805 if (attributeAccessor2.Form == XmlSchemaForm.None && ns != attributeAccessor2.Namespace)
1806 {
1808 }
1809 attributeAccessor2.CheckSpecial();
1810 CheckForm(attributeAccessor2.Form, ns != attributeAccessor2.Namespace);
1812 attributeAccessor2.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a);
1814 if (attributeAccessor2.Form == XmlSchemaForm.Qualified && attributeAccessor2.Namespace != ns)
1815 {
1816 if (_xsdAttributes == null)
1817 {
1818 _xsdAttributes = new NameTable();
1819 }
1821 }
1823 }
1824 else
1825 {
1826 if (a.XmlText != null)
1827 {
1828 if (a.XmlText.Type != null && a.XmlText.Type != fieldType)
1829 {
1831 }
1832 TextAccessor textAccessor2 = new TextAccessor();
1836 }
1837 else if (a.XmlElements.Count == 0)
1838 {
1839 a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc));
1840 }
1841 for (int k = 0; k < a.XmlElements.Count; k++)
1842 {
1843 XmlElementAttribute xmlElementAttribute2 = a.XmlElements[k];
1844 if (xmlElementAttribute2.Type != null && _typeScope.GetTypeDesc(xmlElementAttribute2.Type) != accessor.TypeDesc)
1845 {
1847 }
1848 ElementAccessor elementAccessor4 = new ElementAccessor();
1849 elementAccessor4.Name = XmlConvert.EncodeLocalName((xmlElementAttribute2.ElementName.Length == 0) ? name : xmlElementAttribute2.ElementName);
1853 if (elementAccessor4.Mapping.TypeDesc.Kind == TypeKind.Node)
1854 {
1855 elementAccessor4.Any = true;
1856 }
1857 elementAccessor4.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a);
1858 if (xmlElementAttribute2.GetIsNullableSpecified() && !xmlElementAttribute2.IsNullable && typeModel3.TypeDesc.IsOptionalValue)
1859 {
1860 throw new InvalidOperationException(System.SR.Format(System.SR.XmlInvalidNotNullable, typeModel3.TypeDesc.BaseTypeDesc.FullName, "XmlElement"));
1861 }
1862 elementAccessor4.IsNullable = (xmlElementAttribute2.GetIsNullableSpecified() ? xmlElementAttribute2.IsNullable : typeModel3.TypeDesc.IsOptionalValue);
1864 CheckNullable(elementAccessor4.IsNullable, accessor.TypeDesc, elementAccessor4.Mapping);
1865 if (!rpc)
1866 {
1867 CheckForm(elementAccessor4.Form, ns != elementAccessor4.Namespace);
1869 }
1870 if (xmlElementAttribute2.Order != -1)
1871 {
1872 if (xmlElementAttribute2.Order != num && num != -1)
1873 {
1875 }
1876 num = xmlElementAttribute2.Order;
1877 }
1880 }
1881 }
1882 }
1883 else if (a.Xmlns)
1884 {
1885 if (xmlFlags != XmlAttributeFlags.XmlnsDeclarations)
1886 {
1888 }
1889 if (fieldType != typeof(XmlSerializerNamespaces))
1890 {
1891 throw new InvalidOperationException(System.SR.Format(System.SR.XmlXmlnsInvalidType, name, fieldType.FullName, typeof(XmlSerializerNamespaces).FullName));
1892 }
1893 accessor.Xmlns = new XmlnsAccessor();
1894 accessor.Ignore = true;
1895 }
1896 else
1897 {
1898 if (a.XmlAttribute != null || a.XmlText != null)
1899 {
1900 if (accessor.TypeDesc.Kind == TypeKind.Serializable)
1901 {
1902 throw new InvalidOperationException(System.SR.Format(System.SR.XmlIllegalAttrOrTextInterface, name, accessor.TypeDesc.FullName, "IXmlSerializable"));
1903 }
1905 }
1906 if (a.XmlElements.Count == 0 && a.XmlAnyElements.Count == 0)
1907 {
1908 a.XmlElements.Add(CreateElementAttribute(accessor.TypeDesc));
1909 }
1910 for (int l = 0; l < a.XmlElements.Count; l++)
1911 {
1912 XmlElementAttribute xmlElementAttribute3 = a.XmlElements[l];
1915 ElementAccessor elementAccessor5 = new ElementAccessor();
1919 if (a.XmlElements.Count == 1)
1920 {
1921 elementAccessor5.Name = XmlConvert.EncodeLocalName((xmlElementAttribute3.ElementName.Length == 0) ? name : xmlElementAttribute3.ElementName);
1922 }
1923 else
1924 {
1925 elementAccessor5.Name = ((xmlElementAttribute3.ElementName.Length == 0) ? elementAccessor5.Mapping.DefaultElementName : XmlConvert.EncodeLocalName(xmlElementAttribute3.ElementName));
1926 }
1927 elementAccessor5.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a);
1928 if (xmlElementAttribute3.GetIsNullableSpecified() && !xmlElementAttribute3.IsNullable && typeModel4.TypeDesc.IsOptionalValue)
1929 {
1930 throw new InvalidOperationException(System.SR.Format(System.SR.XmlInvalidNotNullable, typeModel4.TypeDesc.BaseTypeDesc.FullName, "XmlElement"));
1931 }
1932 elementAccessor5.IsNullable = (xmlElementAttribute3.GetIsNullableSpecified() ? xmlElementAttribute3.IsNullable : typeModel4.TypeDesc.IsOptionalValue);
1935 if (!rpc)
1936 {
1937 CheckForm(elementAccessor5.Form, ns != elementAccessor5.Namespace);
1939 }
1940 if (xmlElementAttribute3.Order != -1)
1941 {
1942 if (xmlElementAttribute3.Order != num && num != -1)
1943 {
1945 }
1946 num = xmlElementAttribute3.Order;
1947 }
1950 }
1951 NameTable nameTable3 = new NameTable();
1952 for (int m = 0; m < a.XmlAnyElements.Count; m++)
1953 {
1954 XmlAnyElementAttribute xmlAnyElementAttribute2 = a.XmlAnyElements[m];
1955 Type type6 = (typeof(IXmlSerializable).IsAssignableFrom(fieldType) ? fieldType : (typeof(XmlNode).IsAssignableFrom(fieldType) ? fieldType : typeof(XmlElement)));
1956 if (!fieldType.IsAssignableFrom(type6))
1957 {
1959 }
1960 string name3 = ((xmlAnyElementAttribute2.Name.Length == 0) ? xmlAnyElementAttribute2.Name : XmlConvert.EncodeLocalName(xmlAnyElementAttribute2.Name));
1961 string text2 = (xmlAnyElementAttribute2.GetNamespaceSpecified() ? xmlAnyElementAttribute2.Namespace : null);
1962 if (nameTable3[name3, text2] != null)
1963 {
1964 continue;
1965 }
1967 if (nameTable[name3, (text2 == null) ? ns : text2] != null)
1968 {
1970 }
1971 ElementAccessor elementAccessor6 = new ElementAccessor();
1973 elementAccessor6.Namespace = ((text2 == null) ? ns : text2);
1974 elementAccessor6.Any = true;
1978 if (elementAccessor6.Name.Length > 0)
1979 {
1981 }
1983 elementAccessor6.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a);
1987 if (!rpc)
1988 {
1989 CheckForm(elementAccessor6.Form, ns != elementAccessor6.Namespace);
1991 }
1992 if (xmlAnyElementAttribute2.Order != -1)
1993 {
1994 if (xmlAnyElementAttribute2.Order != num && num != -1)
1995 {
1997 }
1998 num = xmlAnyElementAttribute2.Order;
1999 }
2002 }
2003 }
2004 }
2005 accessor.Elements = (ElementAccessor[])arrayList.ToArray(typeof(ElementAccessor));
2006 accessor.SequenceId = num;
2007 if (rpc)
2008 {
2009 if (accessor.TypeDesc.IsArrayLike && accessor.Elements.Length != 0 && !(accessor.Elements[0].Mapping is ArrayMapping))
2010 {
2012 }
2013 if (accessor.Xmlns != null)
2014 {
2016 }
2017 }
2018 if (accessor.ChoiceIdentifier != null)
2019 {
2020 accessor.ChoiceIdentifier.MemberIds = new string[accessor.Elements.Length];
2021 for (int n = 0; n < accessor.Elements.Length; n++)
2022 {
2023 bool flag2 = false;
2024 ElementAccessor elementAccessor7 = accessor.Elements[n];
2025 EnumMapping enumMapping = (EnumMapping)accessor.ChoiceIdentifier.Mapping;
2026 for (int num2 = 0; num2 < enumMapping.Constants.Length; num2++)
2027 {
2028 string xmlName = enumMapping.Constants[num2].XmlName;
2029 if (elementAccessor7.Any && elementAccessor7.Name.Length == 0)
2030 {
2031 string text3 = ((elementAccessor7.AnyNamespaces == null) ? "##any" : elementAccessor7.AnyNamespaces);
2032 if (xmlName.Substring(0, xmlName.Length - 1) == text3)
2033 {
2034 accessor.ChoiceIdentifier.MemberIds[n] = enumMapping.Constants[num2].Name;
2035 flag2 = true;
2036 break;
2037 }
2038 continue;
2039 }
2040 int num3 = xmlName.LastIndexOf(':');
2041 string text4 = ((num3 < 0) ? enumMapping.Namespace : xmlName.Substring(0, num3));
2042 string text5 = ((num3 < 0) ? xmlName : xmlName.Substring(num3 + 1));
2043 if (elementAccessor7.Name == text5 && ((elementAccessor7.Form == XmlSchemaForm.Unqualified && string.IsNullOrEmpty(text4)) || elementAccessor7.Namespace == text4))
2044 {
2045 accessor.ChoiceIdentifier.MemberIds[n] = enumMapping.Constants[num2].Name;
2046 flag2 = true;
2047 break;
2048 }
2049 }
2050 if (!flag2)
2051 {
2052 if (elementAccessor7.Any && elementAccessor7.Name.Length == 0)
2053 {
2054 throw new InvalidOperationException(System.SR.Format(System.SR.XmlChoiceMissingAnyValue, accessor.ChoiceIdentifier.Mapping.TypeDesc.FullName));
2055 }
2057 throw new InvalidOperationException(System.SR.Format(System.SR.XmlChoiceMissingValue, accessor.ChoiceIdentifier.Mapping.TypeDesc.FullName, text6, elementAccessor7.Name, elementAccessor7.Namespace));
2058 }
2059 }
2060 }
2064 }
void Add(TKey key, TValue value)
static string XmlRpcLitArrayElement
Definition SR.cs:1734
static string XmlIllegalType
Definition SR.cs:1462
static string XmlInvalidNotNullable
Definition SR.cs:1476
static string XmlAnyElementDuplicate
Definition SR.cs:1700
static string XmlIllegalAttrOrText
Definition SR.cs:1464
static string XmlRpcLitXmlns
Definition SR.cs:1742
static string XmlChoiceMissingAnyValue
Definition SR.cs:1656
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string XmlXmlnsInvalidType
Definition SR.cs:1692
static string XmlIllegalArrayTextAttribute
Definition SR.cs:1674
static string XmlSoleXmlnsAttribute
Definition SR.cs:1694
static string XmlIllegalArrayArrayAttribute
Definition SR.cs:1458
static string XmlIllegalAttributesArrayAttribute
Definition SR.cs:1454
static string XmlIllegalAnyElement
Definition SR.cs:1472
static string XmlIllegalElementsArrayAttribute
Definition SR.cs:1456
static string XmlIllegalAttribute
Definition SR.cs:1460
static string XmlSequenceMatch
Definition SR.cs:1802
static string XmlIllegalAttrOrTextInterface
Definition SR.cs:1468
static string XmlChoiceMissingValue
Definition SR.cs:1654
Definition SR.cs:7
TypeModel GetTypeModel(Type type)
Definition ModelScope.cs:22
ArrayModel GetArrayModel(Type type)
Definition ModelScope.cs:66
TypeDesc GetArrayTypeDesc(Type type)
Definition TypeScope.cs:280
TypeDesc GetTypeDesc(string name, string ns)
Definition TypeScope.cs:224
object GetDefaultValue(TypeDesc fieldTypeDesc, Type t, XmlAttributes a)
static void CheckNullable(bool isNullable, TypeDesc typeDesc, TypeMapping mapping)
static void AddUniqueAccessor(INameScope scope, Accessor accessor)
void CheckAmbiguousChoice(XmlAttributes a, Type accessorType, string accessorName)
ElementAccessor ReconcileLocalAccessor(ElementAccessor accessor, string ns)
static void CheckForm(XmlSchemaForm form, bool isQualified)
static XmlArrayItemAttribute CreateArrayItemAttribute(TypeDesc typeDesc, int nestingLevel)
static XmlElementAttribute CreateElementAttribute(TypeDesc typeDesc)
void CheckChoiceIdentifierMapping(EnumMapping choiceMapping)
void CheckTopLevelAttributes(XmlAttributes a, string accessorName)
static int CountAtLevel(XmlArrayItemAttributes attributes, int level)
Accessor ReconcileAccessor(Accessor accessor, NameTable accessors)
ArrayMapping ImportArrayLikeMapping(ArrayModel model, string ns, RecursionLimiter limiter)
static XmlArrayAttribute CreateArrayAttribute(TypeDesc typeDesc)

References System.Xml.Serialization.XmlReflectionImporter._arrayNestingLevel, System.Xml.Serialization.XmlReflectionImporter._modelScope, System.Xml.Serialization.XmlReflectionImporter._savedArrayItemAttributes, System.Xml.Serialization.XmlReflectionImporter._savedArrayNamespace, System.Xml.Serialization.XmlReflectionImporter._typeScope, System.Xml.Serialization.XmlReflectionImporter._xsdAttributes, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Xml.Serialization.XmlReflectionImporter.AddUniqueAccessor(), System.Xml.Serialization.XmlReflectionImporter.CheckAmbiguousChoice(), System.Xml.Serialization.XmlReflectionImporter.CheckChoiceIdentifierMapping(), System.Xml.Serialization.XmlReflectionImporter.CheckForm(), System.Xml.Serialization.XmlReflectionImporter.CheckNullable(), System.Xml.Serialization.XmlReflectionImporter.CheckTopLevelAttributes(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Xml.Serialization.XmlReflectionImporter.CountAtLevel(), System.Xml.Serialization.XmlReflectionImporter.CreateArrayAttribute(), System.Xml.Serialization.XmlReflectionImporter.CreateArrayItemAttribute(), System.Xml.Serialization.XmlReflectionImporter.CreateElementAttribute(), System.Xml.Dictionary, System.Xml.XmlConvert.EncodeLocalName(), System.Xml.Serialization.Accessor.EscapeQName(), System.SR.Format(), System.FullName, System.Xml.Serialization.TypeScope.GetArrayElementType(), System.Xml.Serialization.ModelScope.GetArrayModel(), System.Xml.Serialization.TypeScope.GetArrayTypeDesc(), System.Xml.Serialization.XmlReflectionImporter.GetDefaultValue(), System.Xml.Serialization.TypeScope.GetTypeDesc(), System.Xml.Serialization.ModelScope.GetTypeModel(), System.Xml.Serialization.XmlReflectionImporter.ImportArrayLikeMapping(), System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(), System.Xml.Serialization.XmlReflectionImporter.ReconcileAccessor(), System.Xml.Serialization.XmlReflectionImporter.ReconcileLocalAccessor(), System.text, System.type, System.SR.XmlAnyElementDuplicate, System.SR.XmlChoiceMissingAnyValue, System.SR.XmlChoiceMissingValue, System.SR.XmlIllegalAnyElement, System.SR.XmlIllegalArrayArrayAttribute, System.SR.XmlIllegalArrayTextAttribute, System.SR.XmlIllegalAttribute, System.SR.XmlIllegalAttributesArrayAttribute, System.SR.XmlIllegalAttrOrText, System.SR.XmlIllegalAttrOrTextInterface, System.SR.XmlIllegalElementsArrayAttribute, System.SR.XmlIllegalType, System.SR.XmlInvalidNotNullable, System.SR.XmlRpcLitArrayElement, System.SR.XmlRpcLitXmlns, System.SR.XmlSequenceMatch, System.SR.XmlSoleXmlnsAttribute, and System.SR.XmlXmlnsInvalidType.

Referenced by System.Xml.Serialization.XmlReflectionImporter.ImportFieldMapping(), and System.Xml.Serialization.XmlReflectionImporter.ImportMemberMapping().