Giter Site home page Giter Site logo

Comments (8)

CyrusNajmabadi avatar CyrusNajmabadi commented on July 18, 2024 1

Can you please update your code snippets to render/indent well? Thanks :)

from roslyn.

CyrusNajmabadi avatar CyrusNajmabadi commented on July 18, 2024

This issue lacks enough contextual information. What is the code that is calling into this?

from roslyn.

skillmaker-dev avatar skillmaker-dev commented on July 18, 2024

I've updated the issue with more context

from roslyn.

CyrusNajmabadi avatar CyrusNajmabadi commented on July 18, 2024

When you run this in a debugger, why do you get called so many times?

from roslyn.

skillmaker-dev avatar skillmaker-dev commented on July 18, 2024

When you run this in a debugger, why do you get called so many times?

When I run it in debugger or release the method is called many times (10000) and when i log the syntax being analyzed it is the same syntax (InvocationSyntax in this particular method) over and over, it seems like it is stuck in a loop and somehow it breaks out of the loop and gives the correct results, Maybe i'm doing something wrong with the way i'm using recursion? By the way all the other analyze methods have the same logic as the one in the "if NamespaceDeclarationSyntax ..." They are just separated in separate methods.
Maybe there is something off about the last else ?

from roslyn.

CyrusNajmabadi avatar CyrusNajmabadi commented on July 18, 2024

Maybe i'm doing something wrong with the way i'm using recursion?

Maybe. Without your code, it's nearly impossible to tell :)

What are you different stacks where you're going into your method? It should make it clear what's going on :)

from roslyn.

skillmaker-dev avatar skillmaker-dev commented on July 18, 2024

Maybe i'm doing something wrong with the way i'm using recursion?

Maybe. Without your code, it's nearly impossible to tell :)

What are you different stacks where you're going into your method? It should make it clear what's going on :)

Hi, thank you for the help, the issue was actually in another analyze method that i didn't provide, it was mainly about analyzing the if statement i was analyzing in the wrong way, thanks again for your time !

from roslyn.

CyrusNajmabadi avatar CyrusNajmabadi commented on July 18, 2024

YW. BTW, you may want to bring questions like this to https://discord.com/channels/143867839282020352/598678594750775301 in the future. There you can chat with the team and community in real-time :)

from roslyn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.