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