示例#1
0
文件: ObjDecoder.cs 项目: nomit007/f4
 void complexSet(object obj, Field field, object val, int line)
 {
     try
       {
     if (field.isConst())
       field.set(obj, OpUtil.toImmutable(val), false);
     else
       field.set(obj, val);
       }
       catch (System.Exception ex)
       {
     throw err("Cannot set field " + field.qname() + ": " + ex, line, ex);
       }
 }