5 instantiations of ArrayMapping
System.Xml (5)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
405
ArrayMapping mapping = new
ArrayMapping
();
System\Xml\Serialization\SoapSchemaImporter.cs (2)
401
arrayMapping = new
ArrayMapping
();
424
arrayMapping = new
ArrayMapping
();
System\Xml\Serialization\XmlReflectionImporter.cs (1)
952
ArrayMapping mapping = new
ArrayMapping
();
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1200
ArrayMapping arrayMapping = new
ArrayMapping
();
126 references to ArrayMapping
System.Xml (126)
System\Xml\Serialization\CodeExporter.cs (4)
179
if (m is
ArrayMapping
) {
180
ArrayMapping
arrayMapping = (
ArrayMapping
) m;
193
private static bool ShouldInclude(
ArrayMapping
arrayMapping) {
System\Xml\Serialization\Mappings.cs (5)
321
ArrayMapping
next;
343
internal
ArrayMapping
Next {
701
if (element.Mapping is
ArrayMapping
) {
702
ArrayMapping
arrayMapping = (
ArrayMapping
)element.Mapping;
System\Xml\Serialization\SoapCodeExporter.cs (2)
98
else if (mapping is
ArrayMapping
) {
99
EnsureTypesExported(((
ArrayMapping
)mapping).Elements, null);
System\Xml\Serialization\SoapReflectionImporter.cs (10)
403
ArrayMapping
ImportArrayLikeMapping(ArrayModel model, RecursionLimiter limiter) {
405
ArrayMapping
mapping = new ArrayMapping();
420
ArrayMapping
existingMapping = (
ArrayMapping
)types[mapping.TypeName, mapping.Namespace];
422
ArrayMapping
first = existingMapping;
439
void SetArrayMappingType(
ArrayMapping
mapping) {
471
else if (itemTypeMapping is
ArrayMapping
) {
485
if (existingMapping is
ArrayMapping
) {
486
ArrayMapping
arrayMapping = (
ArrayMapping
)existingMapping;
System\Xml\Serialization\SoapSchemaExporter.cs (3)
152
if (mapping is
ArrayMapping
)
153
return ExportArrayMapping((
ArrayMapping
)mapping, ns);
190
XmlQualifiedName ExportArrayMapping(
ArrayMapping
mapping, string ns) {
System\Xml\Serialization\SoapSchemaImporter.cs (4)
189
if (!(mapping is
ArrayMapping
)) {
385
ArrayMapping
arrayMapping = ImportArrayMapping(type, ns);
398
ArrayMapping
ImportArrayMapping(XmlSchemaType type, string ns) {
399
ArrayMapping
arrayMapping;
System\Xml\Serialization\XmlCodeExporter.cs (11)
116
if (mapping is
ArrayMapping
&& rootElement != null && rootElement.IsTopLevelInSchema && ((
ArrayMapping
)mapping).TopLevelMapping != null) {
117
mapping = ((
ArrayMapping
)mapping).TopLevelMapping;
133
else if (mapping is
ArrayMapping
) {
134
EnsureTypesExported(((
ArrayMapping
)mapping).Elements, ns);
596
void ExportArrayElements(CodeAttributeDeclarationCollection metadata,
ArrayMapping
array, string ns, TypeDesc elementTypeDesc, int nestingLevel) {
608
if (elementMapping is
ArrayMapping
)
609
ExportArrayElements(metadata, (
ArrayMapping
) elementMapping, ns, elementTypeDesc.ArrayElementTypeDesc, nestingLevel+1);
652
bool isArray = mapping is
ArrayMapping
;
660
ArrayMapping
array = (
ArrayMapping
)mapping;
System\Xml\Serialization\XmlReflectionImporter.cs (20)
309
if (accessor.Mapping is
ArrayMapping
) {
310
if (!(existing.Mapping is
ArrayMapping
)) {
313
ArrayMapping
mapping = (
ArrayMapping
)accessor.Mapping;
314
ArrayMapping
existingMapping = mapping.IsAnonymousType ? null : (
ArrayMapping
)types[existing.Mapping.TypeName, existing.Mapping.Namespace];
315
ArrayMapping
first = existingMapping;
382
ArrayMapping
arrayMapping = ImportArrayLikeMapping((ArrayModel)model, ns, limiter);
874
void SetArrayMappingType(
ArrayMapping
mapping, string defaultNs, Type type) {
936
if (existingMapping is
ArrayMapping
) {
937
ArrayMapping
arrayMapping = (
ArrayMapping
)existingMapping;
951
ArrayMapping
ImportArrayLikeMapping(ArrayModel model, string ns, RecursionLimiter limiter) {
952
ArrayMapping
mapping = new ArrayMapping();
972
ArrayMapping
existingMapping = (
ArrayMapping
)types[mapping.TypeName, mapping.Namespace];
974
ArrayMapping
first = existingMapping;
1296
void CreateArrayElementsFromAttributes(
ArrayMapping
arrayMapping, XmlArrayItemAttributes attributes, Type arrayElementType, string arrayElementNs, RecursionLimiter limiter) {
1515
ArrayMapping
arrayMapping = ImportArrayLikeMapping(modelScope.GetArrayModel(accessorType), ns, limiter);
1720
if (accessor.TypeDesc.IsArrayLike && accessor.Elements.Length > 0 && !(accessor.Elements[0].Mapping is
ArrayMapping
))
System\Xml\Serialization\XmlSchemaExporter.cs (10)
99
if (member.TypeDesc.IsArrayLike && !(member.Elements[0].Mapping is
ArrayMapping
))
339
if (mapping is
ArrayMapping
)
340
ExportArrayMapping((
ArrayMapping
)mapping, ns, null);
357
if (mapping is
ArrayMapping
)
358
ExportArrayMapping((
ArrayMapping
)mapping, ns, element);
541
void ExportArrayMapping(
ArrayMapping
mapping, string ns, XmlSchemaElement element) {
547
ArrayMapping
currentMapping = mapping;
848
else if (mapping is
ArrayMapping
) {
849
ExportArrayMapping((
ArrayMapping
) mapping, mapping.Namespace, null);
938
!(member.Elements.Length == 1 && member.Elements[0].Mapping is
ArrayMapping
);
System\Xml\Serialization\XmlSchemaImporter.cs (22)
97
if (element.Mapping is
ArrayMapping
) {
99
element.Mapping = ((
ArrayMapping
)element.Mapping).TopLevelMapping;
150
if (accessor.Mapping is
ArrayMapping
) {
152
accessor.Mapping = ((
ArrayMapping
)accessor.Mapping).TopLevelMapping;
291
if (element.IsMultipleOccurrence && topAccessor.Mapping is
ArrayMapping
) {
418
if (mapping is
ArrayMapping
) {
419
TypeMapping top = ((
ArrayMapping
)mapping).TopLevelMapping;
538
else if (baseMapping is
ArrayMapping
) {
539
baseMapping = ((
ArrayMapping
)baseMapping).TopLevelMapping;
561
else if (arrayLike && previousMapping is
ArrayMapping
){
562
ArrayMapping
arrayMapping = (
ArrayMapping
)previousMapping;
785
ArrayMapping
arrayMapping = element.Mapping as
ArrayMapping
;
860
bool IsNeedXmlSerializationAttributes(
ArrayMapping
arrayMapping) {
1168
ArrayMapping
arrayMapping = ImportArrayMapping(type, identifier, ns, repeats);
1180
ArrayMapping
ImportArrayMapping(XmlSchemaType type, string identifier, string ns, bool repeats) {
1187
if (previousMapping is
ArrayMapping
)
1188
return (
ArrayMapping
)previousMapping;
1200
ArrayMapping
arrayMapping = new ArrayMapping();
1355
if (!allowUnboundedElements && accessor.Mapping is
ArrayMapping
) {
1356
accessor.Mapping = ((
ArrayMapping
)accessor.Mapping).TopLevelMapping;
System\Xml\Serialization\XmlSerializationReader.cs (12)
2255
(mapping is StructMapping || mapping is EnumMapping || mapping is
ArrayMapping
|| mapping is NullableMapping) &&
2259
if (mapping is
ArrayMapping
) {
2405
else if (mapping.TypeDesc.IsArrayLike && !(mapping.Elements.Length == 1 && mapping.Elements[0].Mapping is
ArrayMapping
)) {
2917
else if (m is
ArrayMapping
) {
2918
ArrayMapping
mapping = (
ArrayMapping
) m;
3124
if (mapping.Attribute == null && mapping.Elements.Length == 1 && mapping.Elements[0].Mapping is
ArrayMapping
) {
3135
if (mapping.TypeDesc.IsArrayLike && !(mapping.Elements.Length == 1 && mapping.Elements[0].Mapping is
ArrayMapping
)) {
3608
if (mapping is StructMapping || mapping is
ArrayMapping
|| mapping is PrimitiveMapping || mapping is NullableMapping) {
4154
void WriteArray(string source, string arrayName,
ArrayMapping
arrayMapping, bool readOnly, bool isNullable, int fixupIndex) {
4253
if (element.Mapping is
ArrayMapping
) {
4254
WriteArray(source, arrayName, (
ArrayMapping
)element.Mapping, readOnly, element.IsNullable, fixupIndex);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (9)
496
else if (mapping.TypeDesc.IsArrayLike && !(mapping.Elements.Length == 1 && mapping.Elements[0].Mapping is
ArrayMapping
)) {
1270
else if (m is
ArrayMapping
) {
1271
ArrayMapping
mapping = (
ArrayMapping
)m;
1598
if (mapping.Attribute == null && mapping.Elements.Length == 1 && mapping.Elements[0].Mapping is
ArrayMapping
) {
1609
if (mapping.TypeDesc.IsArrayLike && !(mapping.Elements.Length == 1 && mapping.Elements[0].Mapping is
ArrayMapping
)) {
2864
void WriteArray(string source, string arrayName,
ArrayMapping
arrayMapping, bool readOnly, bool isNullable, int fixupIndex, int elementIndex) {
2989
if (element.Mapping is
ArrayMapping
) {
2990
WriteArray(source, arrayName, (
ArrayMapping
)element.Mapping, readOnly, element.IsNullable, fixupIndex, elementIndex);
System\Xml\Serialization\XmlSerializationWriter.cs (7)
1995
else if (m is
ArrayMapping
&& !m.IsSoap) {
1996
ArrayMapping
mapping = m as
ArrayMapping
;
2375
!(elements.Length == 1 && elements[0].Mapping is
ArrayMapping
))
2771
else if (element.Mapping is
ArrayMapping
) {
2772
ArrayMapping
mapping = (
ArrayMapping
)element.Mapping;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (7)
813
else if (m is
ArrayMapping
) {
814
ArrayMapping
mapping = m as
ArrayMapping
;
1366
!(elements.Length == 1 && elements[0].Mapping is
ArrayMapping
))
1877
else if (element.Mapping is
ArrayMapping
) {
1878
ArrayMapping
mapping = (
ArrayMapping
)element.Mapping;