IsArray() статический приватный Метод

static private IsArray ( IReflect ir ) : bool
ir IReflect
Результат bool
Пример #1
0
 internal override AST PartiallyEvaluateAsReference()
 {
     this.BindName(null);
     if (this.members == null || this.members.Length == 0)
     {
         if (this.isImplicitWrapper && !Convert.IsArray(this.rootObjectInferredType))
         {
             this.context.HandleError(JSError.UselessAssignment);
         }
         else
         {
             this.HandleNoSuchMemberError();
         }
         return(this);
     }
     this.ResolveLHValue();
     if (this.isImplicitWrapper)
     {
         if (this.member == null || (!(this.member is JSField) && Typeob.JSObject.IsAssignableFrom(this.member.DeclaringType)))
         {
             this.context.HandleError(JSError.UselessAssignment);
         }
     }
     return(this);
 }