Beispiel #1
0
 public override Inferred Infer(Engine engine)
 {
     if (null == engine)
     {
         throw new ArgumentNullException("engine");
     }
     return(engine.InferType(info.PropertyType));
 }
Beispiel #2
0
        public override IList <Inferred> InferResult(Engine engine)
        {
            Type type = info.ReturnType;

            if (type != typeof(void))
            {
                return(Engine.MakeList(engine.InferType(info.ReturnType)));
            }
            else
            {
                return(null);
            }
        }
 public override IList <Inferred> Resolve(Engine engine, Scope scope)
 {
     return(Engine.MakeList(engine.InferType(type)));
 }
Beispiel #4
0
 public override IList <Inferred> InferResult(Engine engine)
 {
     return(Engine.MakeList(engine.InferType(info.DeclaringType)));
 }