2 types derived from XmlMapping
System.Xml (2)
System\Xml\Serialization\XmlMembersMapping.cs (1)
18
public class XmlMembersMapping :
XmlMapping
{
System\Xml\Serialization\XmlTypeMapping.cs (1)
17
public class XmlTypeMapping :
XmlMapping
{
71 references to XmlMapping
System.ServiceModel (4)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (4)
200
public Collection<
XmlMapping
> GetXmlMappings()
202
Collection<
XmlMapping
> mappings = new Collection<
XmlMapping
>();
795
XmlSerializer[] CreateSerializersFromMappings(
XmlMapping
[] mappings, Type type)
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\UnwrappedTypesXmlSerializerManager.cs (2)
91
List<
XmlMapping
> mappings = new List<
XmlMapping
>();
System.Web.Services (14)
System\Web\Services\Protocols\SoapClientProtocol.cs (3)
49
XmlMapping
[] xmlMappings = (
XmlMapping
[])mappings.ToArray(typeof(
XmlMapping
));
System\Web\Services\Protocols\SoapServerMethod.cs (5)
189
private List<
XmlMapping
> GetXmlMappingsForMethod(SoapReflectedMethod soapMethod) {
190
List<
XmlMapping
> mappings = new List<
XmlMapping
>();
245
List<
XmlMapping
> mappings = GetXmlMappingsForMethod(soapMethod);
251
XmlMapping
[] xmlMappings = mappings.ToArray();
System\Web\Services\Protocols\SoapServerProtocol.cs (3)
112
XmlMapping
[] xmlMappings = (
XmlMapping
[])mappings.ToArray(typeof(
XmlMapping
));
System\Web\Services\Protocols\XmlReturnReader.cs (3)
45
XmlMapping
[] xmlMappings = (
XmlMapping
[])mappings.ToArray(typeof(
XmlMapping
));
System.Xml (51)
System\Xml\Serialization\Compilation.cs (10)
53
internal TempAssembly(
XmlMapping
[] xmlMappings, Type[] types, string defaultNamespace, string location, Evidence evidence) {
91
internal TempAssembly(
XmlMapping
[] xmlMappings, Assembly assembly, XmlSerializerImplementation contract) {
125
internal void InitAssemblyMethods(
XmlMapping
[] xmlMappings) {
292
internal static Assembly GenerateAssembly(
XmlMapping
[] xmlMappings, Type[] types, string defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) {
297
foreach (
XmlMapping
mapping in xmlMappings)
415
internal static Assembly GenerateRefEmitAssembly(
XmlMapping
[] xmlMappings, Type[] types, string defaultNamespace, Evidence evidence) {
417
foreach (
XmlMapping
mapping in xmlMappings)
538
internal bool CanRead(
XmlMapping
mapping, XmlReader xmlReader) {
576
internal object InvokeReader(
XmlMapping
mapping, XmlReader xmlReader, XmlDeserializationEvents events, string encodingStyle) {
603
internal void InvokeWriter(
XmlMapping
mapping, XmlWriter xmlWriter, object o, XmlSerializerNamespaces namespaces, string encodingStyle, string id) {
System\Xml\Serialization\SoapReflectionImporter.cs (1)
115
xmlMapping.SetKeyInternal(
XmlMapping
.GenerateKey(type, null, defaultNamespace));
System\Xml\Serialization\XmlMapping.cs (1)
119
internal static bool IsShallow(
XmlMapping
[] mappings) {
System\Xml\Serialization\XmlReflectionImporter.cs (2)
160
xmlMapping.SetKeyInternal(
XmlMapping
.GenerateKey(type, root, defaultNamespace));
1971
mapping.SetKeyInternal(
XmlMapping
.GenerateKey(type, a.XmlRoot, defaultNamespace));
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (4)
164
internal void GeneratePublicMethods(string privateName, string publicName, string[] methods,
XmlMapping
[] xmlMappings) {
249
internal string GenerateTypedSerializer(string readMethod, string writeMethod,
XmlMapping
mapping, CodeIdentifiers classes, string baseSerializer, string readerClass, string writerClass) {
335
void GenerateGetSerializer(Hashtable serializers,
XmlMapping
[] xmlMappings) {
366
internal void GenerateSerializerContract(string className,
XmlMapping
[] xmlMappings, Type[] types, string readerType, string[] readMethods, string writerType, string[] writerMethods, Hashtable serializers) {
System\Xml\Serialization\XmlSerializationILGen.cs (4)
188
internal FieldBuilder GeneratePublicMethods(string privateName, string publicName, string[] methods,
XmlMapping
[] xmlMappings, TypeBuilder serializerContractTypeBuilder) {
295
internal string GenerateTypedSerializer(string readMethod, string writeMethod,
XmlMapping
mapping, CodeIdentifiers classes, string baseSerializer, string readerClass, string writerClass) {
419
void GenerateGetSerializer(Hashtable serializers,
XmlMapping
[] xmlMappings, TypeBuilder serializerContractTypeBuilder) {
463
internal void GenerateSerializerContract(string className,
XmlMapping
[] xmlMappings, Type[] types, string readerType, string[] readMethods, string writerType, string[] writerMethods, Hashtable serializers) {
System\Xml\Serialization\XmlSerializationReader.cs (3)
2166
GenerateEnd(new string[0], new
XmlMapping
[0], new Type[0]);
2168
internal void GenerateEnd(string[] methods,
XmlMapping
[] xmlMappings, Type[] types) {
2201
internal string GenerateElement(
XmlMapping
xmlMapping) {
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
218
internal void GenerateEnd(string[] methods,
XmlMapping
[] xmlMappings, Type[] types) {
265
internal string GenerateElement(
XmlMapping
xmlMapping) {
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1360
internal string GenerateElement(
XmlMapping
xmlMapping) {
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
64
internal string GenerateElement(
XmlMapping
xmlMapping) {
System\Xml\Serialization\XmlSerializer.cs (22)
109
XmlMapping
mapping;
209
tempAssembly = new TempAssembly(new
XmlMapping
[] { this.mapping }, assembly, contract);
252
internal static TempAssembly GenerateTempAssembly(
XmlMapping
xmlMapping) {
256
internal static TempAssembly GenerateTempAssembly(
XmlMapping
xmlMapping, Type type, string defaultNamespace) {
259
return new TempAssembly(new
XmlMapping
[] { xmlMapping }, new Type[] {type}, defaultNamespace, null, null);
262
internal static TempAssembly GenerateTempAssembly(
XmlMapping
xmlMapping, Type type, string defaultNamespace, string location, Evidence evidence) {
263
return new TempAssembly(new
XmlMapping
[] { xmlMapping }, new Type[] {type}, defaultNamespace, location, evidence);
462
public static XmlSerializer[] FromMappings(
XmlMapping
[] mappings) {
471
public static XmlSerializer[] FromMappings(
XmlMapping
[] mappings, Type type) {
477
if (
XmlMapping
.IsShallow(mappings)) {
508
static XmlSerializer[] GetSerializersFromCache(
XmlMapping
[] mappings, Type type) {
531
XmlMapping
[] pendingMappings = new
XmlMapping
[pendingKeys.Count];
559
public static XmlSerializer[] FromMappings(
XmlMapping
[] mappings, Evidence evidence) {
561
if (
XmlMapping
.IsShallow(mappings)) {
578
public static Assembly GenerateSerializer(Type[] types,
XmlMapping
[] mappings) {
595
public static Assembly GenerateSerializer(Type[] types,
XmlMapping
[] mappings, CompilerParameters parameters) {
602
if (
XmlMapping
.IsShallow(mappings)) {
717
internal void SetTempAssembly(TempAssembly tempAssembly,
XmlMapping
mapping) {
732
mapping.SetKeyInternal(
XmlMapping
.GenerateKey(type, null, null));
879
public
XmlMapping
Mapping;
880
public XmlSerializerMappingKey(
XmlMapping
mapping) {