Method | Description | |
---|---|---|
BakeMethods ( ) : void |
Once all methods have been defined, CreateModule must be called in order to "bake" the methods within this module.
|
|
CreateDelegate ( string name, Type typDelegate ) : Delegate |
Wrap a delegate around a MethodInfo of the specified name and type and return it.
|
|
DefineField ( string fieldName, Type type ) : |
Define private static field with the specified name and value.
|
|
DefineInitializedData ( string name, byte data ) : |
Define ginitialized data field with the specified name and value.
|
|
DefineMethod ( string name, Type returnType, Type paramTypes, string paramNames, XmlILMethodAttributes xmlAttrs ) : |
Define a method in this module with the specified name and parameters.
|
|
DefineMethodBody ( |
Get an XmlILGenerator that can be used to generate the body of the specified method.
|
|
DefineTypeInitializer ( ) : |
Define static constructor for this type.
|
|
FindMethod ( string name ) : |
Find a MethodInfo of the specified name and return it. Return null if no such method exists.
|
|
XmlILModule ( |
||
XmlILModule ( bool useLRE, bool emitSymbols ) : System.Collections |
Method | Description | |
---|---|---|
CreateAssemblyName ( ) : |
Define unique assembly name (within AppDomain).
|
|
XmlILModule ( ) : System.Collections |
public CreateDelegate ( string name, Type typDelegate ) : Delegate | ||
name | string | |
typDelegate | Type | |
return | Delegate |
public DefineField ( string fieldName, Type type ) : |
||
fieldName | string | |
type | Type | |
return |
public DefineInitializedData ( string name, byte data ) : |
||
name | string | |
data | byte | |
return |
public DefineMethod ( string name, Type returnType, Type paramTypes, string paramNames, XmlILMethodAttributes xmlAttrs ) : |
||
name | string | |
returnType | Type | |
paramTypes | Type | |
paramNames | string | |
xmlAttrs | XmlILMethodAttributes | |
return |
public static DefineMethodBody ( |
||
methInfo | ||
return |
public DefineTypeInitializer ( ) : |
||
return |
public FindMethod ( string name ) : |
||
name | string | |
return |
public XmlILModule ( |
||
typeBldr | ||
return | System.Collections |
public XmlILModule ( bool useLRE, bool emitSymbols ) : System.Collections | ||
useLRE | bool | |
emitSymbols | bool | |
return | System.Collections |