Esempio n. 1
0
        public override void VisitDelegateDeclaration(DelegateDeclarationSyntax node)
        {
            MainDeclaration.Instance.RoslynWatch.Start();
            INamedTypeSymbol symbol = MainDeclaration.Instance.Model.GetDeclaredSymbol(node);

            MainDeclaration.Instance.RoslynWatch.Stop();

            Class limNode = SymbolBuilder.BuildDispatch <Class, INamedTypeSymbol>(symbol);

            MainDeclaration.Instance.LimOrigin.addCompIdCsharpIdLimIdToMap(MainDeclaration.Instance.Component.Id, _map[node], limNode.Id);

            node.CreateCommentNode(symbol);

            base.VisitDelegateDeclaration(node);

            if (MainDeclaration.Instance.ClassStack.Count > 0)
            {
                Commons.Common.FillFromClassStack();
            }

            limNode.SetCLOC(node);
        }