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

◆ BakeMethods()

void System.Xml.Xsl.IlGen.XmlILModule.BakeMethods ( )
inline

Definition at line 146 of file XmlILModule.cs.

147 {
148 if (_useLRE)
149 {
150 return;
151 }
153 Hashtable hashtable = new Hashtable(_methods.Count);
154 foreach (string key in _methods.Keys)
155 {
156 hashtable[key] = type.GetMethod(key, BindingFlags.Static | BindingFlags.NonPublic);
157 }
158 _methods = hashtable;
159 _typeBldr = null;
160 }
virtual ICollection Keys
Definition Hashtable.cs:532
virtual Type AsType()
Definition TypeInfo.cs:106

References System.Xml.Xsl.IlGen.XmlILModule._methods, System.Xml.Xsl.IlGen.XmlILModule._typeBldr, System.Xml.Xsl.IlGen.XmlILModule._useLRE, System.Reflection.TypeInfo.AsType(), System.Collections.Hashtable.Count, System.Reflection.Emit.TypeBuilder.CreateTypeInfo(), System.key, System.Collections.Hashtable.Keys, and System.type.

Referenced by System.Xml.Xsl.XmlILGenerator.Generate().