Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ XmlILModule() [2/2]

System.Xml.Xsl.IlGen.XmlILModule.XmlILModule ( bool useLRE,
bool emitSymbols )
inline

Definition at line 42 of file XmlILModule.cs.

43 {
46 _methods = new Hashtable();
47 if (!useLRE)
48 {
51 assemblyBuilder.SetCustomAttribute(new CustomAttributeBuilder(XmlILConstructors.Transparent, Array.Empty<object>()));
52 if (emitSymbols)
53 {
55 assemblyBuilder.SetCustomAttribute(new CustomAttributeBuilder(XmlILConstructors.Debuggable, new object[1] { debuggingModes }));
56 }
57 ModuleBuilder moduleBuilder = assemblyBuilder.DefineDynamicModule("System.Xml.Xsl.CompiledQuery");
58 _typeBldr = moduleBuilder.DefineType("System.Xml.Xsl.CompiledQuery.Query", TypeAttributes.Public);
59 }
60 }
static AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access)
static int DefineType(QCallModule module, string fullname, int tkParent, TypeAttributes attributes, int tkEnclosingType, int[] interfaceTokens)
static AssemblyName CreateAssemblyName()

References System.Xml.Xsl.IlGen.XmlILModule._emitSymbols, System.Xml.Xsl.IlGen.XmlILModule._methods, System.Xml.Xsl.IlGen.XmlILModule._typeBldr, System.Xml.Xsl.IlGen.XmlILModule._useLRE, System.Xml.Xsl.IlGen.XmlILModule.CreateAssemblyName(), System.Xml.Xsl.IlGen.XmlILConstructors.Debuggable, System.Reflection.Emit.AssemblyBuilder.DefineDynamicAssembly(), System.Reflection.Emit.TypeBuilder.DefineType(), System.Xml.Dictionary, and System.Xml.Xsl.IlGen.XmlILConstructors.Transparent.