//----------------------------------------------------------------------------------------------------------------------------------------------------- #region IAcceptOperandVisitor Members void IAcceptOperandVisitor.AcceptVisitor(OperandVisitorBase visitor) { if (m_Method == null) // the statements belong to host method until the anonymous method is created { visitor.VisitStatementBlock(m_Statements); } }
//----------------------------------------------------------------------------------------------------------------------------------------------------- #region IAcceptOperandVisitor Members void IAcceptOperandVisitor.AcceptVisitor(OperandVisitorBase visitor) { visitor.VisitOperand(ref m_Target); visitor.VisitOperandArray(m_IndexArguments); visitor.VisitOperand(ref m_Value); }
//----------------------------------------------------------------------------------------------------------------------------------------------------- #region IAcceptOperandVisitor Members void IAcceptOperandVisitor.AcceptVisitor(OperandVisitorBase visitor) { visitor.VisitOperand(ref m_Array); visitor.VisitOperand(ref m_Index); }
//----------------------------------------------------------------------------------------------------------------------------------------------------- void IAcceptOperandVisitor.AcceptVisitor(OperandVisitorBase visitor) { visitor.VisitOperand(ref m_Target); }