Esempio n. 1
0
 /// <summary>
 /// Enumerates all objects in this context
 /// </summary>
 /// <returns>Array of code objects</returns>
 public CodeObject[] EnumAllObjects()
 {
     CodeObject[] vars = new CodeObject[map.Values.Count];
     map.Values.CopyTo(vars, 0);
     return(vars);
 }
Esempio n. 2
0
 public override void GenerateStore(CodeObject value)
 {
     value.GenerateCode();
     ILTypeTranslator.GenerateImplicitCast(IL, value.Type, Type);
     GenerateStore();
 }