Esempio n. 1
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        internal bool IdentifyAnonymousMethods(out IAnonymousMethodIdentification identification)
        {
            var visitor = new AnonymousMethodIdentificationVisitor(this);

            AcceptVisitor(visitor);

            identification = visitor;
            return(identification.AnonymousMethodsFound);
        }
Esempio n. 2
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        public ClosureHostMethodRewritingVisitor(IAnonymousMethodIdentification identification)
        {
            m_Identification    = identification;
            m_EffectiveClosures = new Stack <ClosureDefinition>();
        }