7 instantiations of TempAssembly
System.Xml (7)
System\Xml\Serialization\XmlSerializer.cs (6)
209
tempAssembly = new
TempAssembly
(new XmlMapping[] { this.mapping }, assembly, contract);
259
return new
TempAssembly
(new XmlMapping[] { xmlMapping }, new Type[] {type}, defaultNamespace, null, null);
263
return new
TempAssembly
(new XmlMapping[] { xmlMapping }, new Type[] {type}, defaultNamespace, location, evidence);
482
tempAssembly = new
TempAssembly
(mappings, new Type[] { type }, null, null, null);
537
TempAssembly tempAssembly = new
TempAssembly
(pendingMappings, new Type[] { type }, null, null, null);
564
TempAssembly tempAssembly = new
TempAssembly
(mappings, new Type[0], null, null, evidence);
System\Xml\Serialization\XmlSerializerFactory.cs (1)
103
tempAssembly = new
TempAssembly
(contract);
27 references to TempAssembly
System.Xml (27)
System\Xml\Serialization\CodeGenerator.cs (1)
1776
return moduleBuilder.DefineType(
TempAssembly
.GeneratedAssemblyNamespace + "." + name,
System\Xml\Serialization\Compilation.cs (4)
65
if (!containsSoapMapping && !
TempAssembly
.UseLegacySerializerGeneration) {
706
internal
TempAssembly
this[string ns, object o] {
707
get { return (
TempAssembly
)cache[new TempAssemblyCacheKey(ns, o)]; }
710
internal void Add(string ns, object o,
TempAssembly
assembly) {
System\Xml\Serialization\Compiler.cs (3)
80
TempAssembly
.FileIOPermission.Assert();
104
TempAssembly
.FileIOPermission.Assert();
171
perms.AddPermission(
TempAssembly
.FileIOPermission);
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (2)
21
TempAssembly
tempAssembly;
25
internal void Init(
TempAssembly
tempAssembly) {
System\Xml\Serialization\XmlSerializationReader.cs (1)
130
internal void Init(XmlReader r, XmlDeserializationEvents events, string encodingStyle,
TempAssembly
tempAssembly) {
System\Xml\Serialization\XmlSerializationWriter.cs (1)
43
internal void Init(XmlWriter w, XmlSerializerNamespaces namespaces, string encodingStyle, string idBase,
TempAssembly
tempAssembly) {
System\Xml\Serialization\XmlSerializer.cs (11)
106
TempAssembly
tempAssembly;
198
Assembly assembly =
TempAssembly
.LoadGeneratedAssembly(type, defaultNamespace, out contract);
252
internal static
TempAssembly
GenerateTempAssembly(XmlMapping xmlMapping) {
256
internal static
TempAssembly
GenerateTempAssembly(XmlMapping xmlMapping, Type type, string defaultNamespace) {
262
internal static
TempAssembly
GenerateTempAssembly(XmlMapping xmlMapping, Type type, string defaultNamespace, string location, Evidence evidence) {
474
Assembly assembly = type == null ? null :
TempAssembly
.LoadGeneratedAssembly(type, null, out contract);
475
TempAssembly
tempAssembly = null;
537
TempAssembly
tempAssembly = new TempAssembly(pendingMappings, new Type[] { type }, null, null, null);
564
TempAssembly
tempAssembly = new TempAssembly(mappings, new Type[0], null, null, evidence);
618
return
TempAssembly
.GenerateAssembly(mappings, types, null, null, XmlSerializerCompilerParameters.Create(parameters, /* needTempDirAccess = */ true), assembly, new Hashtable());
717
internal void SetTempAssembly(
TempAssembly
tempAssembly, XmlMapping mapping) {
System\Xml\Serialization\XmlSerializerFactory.cs (4)
69
TempAssembly
tempAssembly = XmlSerializer.GenerateTempAssembly(xmlTypeMapping);
88
TempAssembly
tempAssembly = cache[defaultNamespace, type];
95
Assembly assembly =
TempAssembly
.LoadGeneratedAssembly(type, defaultNamespace, out contract);
139
TempAssembly
tempAssembly = XmlSerializer.GenerateTempAssembly(mapping, type, defaultNamespace, location, evidence);