{
class ILContext
{
- public ILContext(ILProcessor il, MethodBody body, List<Instruction> insOfAddEvent, ModuleDefinition module, FieldDefinition parentContextValues = null)
+ public ILContext(ILProcessor il, MethodBody body, List<Instruction> insOfAddEvent, ModuleDefinition module, string embeddedResourceNameSpace, FieldDefinition parentContextValues = null)
{
IL = il;
Body = body;
Variables = new Dictionary<IElementNode, VariableDefinition>();
Scopes = new Dictionary<INode, Tuple<VariableDefinition, IList<string>>>();
TypeExtensions = new Dictionary<INode, TypeReference>();
+ EmbeddedResourceNameSpace = embeddedResourceNameSpace;
ParentContextValues = parentContextValues;
Module = module;
}
public Dictionary<INode, TypeReference> TypeExtensions { get; }
+ public string EmbeddedResourceNameSpace { get; }
+
public FieldDefinition ParentContextValues { get; private set; }
public object Root { get; set; } //FieldDefinition or VariableDefinition