5 instantiations of ArrayMapping
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (1)
450
ArrayMapping mapping = new
ArrayMapping
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (2)
450
arrayMapping = new
ArrayMapping
();
473
arrayMapping = new
ArrayMapping
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (1)
1091
ArrayMapping mapping = new
ArrayMapping
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
1384
ArrayMapping arrayMapping = new
ArrayMapping
();
105 references to ArrayMapping
dotnet-svcutil-lib (105)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (4)
199
if (m is
ArrayMapping
)
201
ArrayMapping
arrayMapping = (
ArrayMapping
)m;
215
private static bool ShouldInclude(
ArrayMapping
arrayMapping)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (5)
377
private
ArrayMapping
_next;
402
internal
ArrayMapping
Next
835
if (element.Mapping is
ArrayMapping
)
837
ArrayMapping
arrayMapping = (
ArrayMapping
)element.Mapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (2)
102
else if (mapping is
ArrayMapping
)
104
EnsureTypesExported(((
ArrayMapping
)mapping).Elements, null);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (10)
448
private
ArrayMapping
ImportArrayLikeMapping(ArrayModel model, RecursionLimiter limiter)
450
ArrayMapping
mapping = new ArrayMapping();
465
ArrayMapping
existingMapping = (
ArrayMapping
)_types[mapping.TypeName, mapping.Namespace];
468
ArrayMapping
first = existingMapping;
486
private void SetArrayMappingType(
ArrayMapping
mapping)
524
else if (itemTypeMapping is
ArrayMapping
)
541
if (existingMapping is
ArrayMapping
)
543
ArrayMapping
arrayMapping = (
ArrayMapping
)existingMapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (3)
175
if (mapping is
ArrayMapping
)
176
return ExportArrayMapping((
ArrayMapping
)mapping, ns);
220
private XmlQualifiedName ExportArrayMapping(
ArrayMapping
mapping, string ns)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (4)
200
if (!(mapping is
ArrayMapping
))
432
ArrayMapping
arrayMapping = ImportArrayMapping(type, ns);
445
private
ArrayMapping
ImportArrayMapping(XmlSchemaType type, string ns)
447
ArrayMapping
arrayMapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (11)
125
if (mapping is
ArrayMapping
&& rootElement != null && rootElement.IsTopLevelInSchema && ((
ArrayMapping
)mapping).TopLevelMapping != null)
127
mapping = ((
ArrayMapping
)mapping).TopLevelMapping;
147
else if (mapping is
ArrayMapping
)
149
EnsureTypesExported(((
ArrayMapping
)mapping).Elements, ns);
684
private void ExportArrayElements(CodeAttributeDeclarationCollection metadata,
ArrayMapping
array, string ns, TypeDesc elementTypeDesc, int nestingLevel)
698
if (elementMapping is
ArrayMapping
)
699
ExportArrayElements(metadata, (
ArrayMapping
)elementMapping, ns, elementTypeDesc.ArrayElementTypeDesc, nestingLevel + 1);
749
bool isArray = mapping is
ArrayMapping
;
758
ArrayMapping
array = (
ArrayMapping
)mapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (20)
342
if (accessor.Mapping is
ArrayMapping
)
344
if (!(existing.Mapping is
ArrayMapping
))
348
ArrayMapping
mapping = (
ArrayMapping
)accessor.Mapping;
349
ArrayMapping
existingMapping = mapping.IsAnonymousType ? null : (
ArrayMapping
)_types[existing.Mapping.TypeName, existing.Mapping.Namespace];
350
ArrayMapping
first = existingMapping;
429
ArrayMapping
arrayMapping = ImportArrayLikeMapping((ArrayModel)model, ns, limiter);
999
private void SetArrayMappingType(
ArrayMapping
mapping, string defaultNs, Type type)
1072
if (existingMapping is
ArrayMapping
)
1074
ArrayMapping
arrayMapping = (
ArrayMapping
)existingMapping;
1089
private
ArrayMapping
ImportArrayLikeMapping(ArrayModel model, string ns, RecursionLimiter limiter)
1091
ArrayMapping
mapping = new ArrayMapping();
1112
ArrayMapping
existingMapping = (
ArrayMapping
)_types[mapping.TypeName, mapping.Namespace];
1115
ArrayMapping
first = existingMapping;
1491
private void CreateArrayElementsFromAttributes(
ArrayMapping
arrayMapping, XmlArrayItemAttributes attributes, Type arrayElementType, string arrayElementNs, RecursionLimiter limiter)
1734
ArrayMapping
arrayMapping = ImportArrayLikeMapping(_modelScope.GetArrayModel(accessorType), ns, limiter);
1966
if (accessor.TypeDesc.IsArrayLike && accessor.Elements.Length > 0 && !(accessor.Elements[0].Mapping is
ArrayMapping
))
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (10)
109
if (member.TypeDesc.IsArrayLike && !(member.Elements[0].Mapping is
ArrayMapping
))
387
if (mapping is
ArrayMapping
)
388
ExportArrayMapping((
ArrayMapping
)mapping, ns, null);
407
if (mapping is
ArrayMapping
)
408
ExportArrayMapping((
ArrayMapping
)mapping, ns, element);
627
private void ExportArrayMapping(
ArrayMapping
mapping, string ns, XmlSchemaElement element)
634
ArrayMapping
currentMapping = mapping;
991
else if (mapping is
ArrayMapping
)
993
ExportArrayMapping((
ArrayMapping
)mapping, mapping.Namespace, null);
1101
!(member.Elements.Length == 1 && member.Elements[0].Mapping is
ArrayMapping
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (22)
101
if (element.Mapping is
ArrayMapping
)
104
element.Mapping = ((
ArrayMapping
)element.Mapping).TopLevelMapping;
161
if (accessor.Mapping is
ArrayMapping
)
164
accessor.Mapping = ((
ArrayMapping
)accessor.Mapping).TopLevelMapping;
319
if (element.IsMultipleOccurrence && topAccessor.Mapping is
ArrayMapping
)
471
if (mapping is
ArrayMapping
)
473
TypeMapping top = ((
ArrayMapping
)mapping).TopLevelMapping;
612
else if (baseMapping is
ArrayMapping
)
614
baseMapping = ((
ArrayMapping
)baseMapping).TopLevelMapping;
639
else if (arrayLike && previousMapping is
ArrayMapping
)
641
ArrayMapping
arrayMapping = (
ArrayMapping
)previousMapping;
901
ArrayMapping
arrayMapping = element.Mapping as
ArrayMapping
;
986
private bool IsNeedXmlSerializationAttributes(
ArrayMapping
arrayMapping)
1350
ArrayMapping
arrayMapping = ImportArrayMapping(type, identifier, ns, repeats);
1362
private
ArrayMapping
ImportArrayMapping(XmlSchemaType type, string identifier, string ns, bool repeats)
1371
if (previousMapping is
ArrayMapping
)
1372
return (
ArrayMapping
)previousMapping;
1384
ArrayMapping
arrayMapping = new ArrayMapping();
1553
if (!allowUnboundedElements && accessor.Mapping is
ArrayMapping
)
1555
accessor.Mapping = ((
ArrayMapping
)accessor.Mapping).TopLevelMapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (7)
2310
else if (m is
ArrayMapping
&& !m.IsSoap)
2312
ArrayMapping
mapping = m as
ArrayMapping
;
2750
!(elements.Length == 1 && elements[0].Mapping is
ArrayMapping
))
3197
else if (element.Mapping is
ArrayMapping
)
3199
ArrayMapping
mapping = (
ArrayMapping
)element.Mapping;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (7)
888
else if (m is
ArrayMapping
)
890
ArrayMapping
mapping = m as
ArrayMapping
;
1488
!(elements.Length == 1 && elements[0].Mapping is
ArrayMapping
))
2045
else if (element.Mapping is
ArrayMapping
)
2047
ArrayMapping
mapping = (
ArrayMapping
)element.Mapping;