Comments (8)
Can you please update your code snippets to render/indent well? Thanks :)
from roslyn.
This issue lacks enough contextual information. What is the code that is calling into this?
from roslyn.
I've updated the issue with more context
from roslyn.
When you run this in a debugger, why do you get called so many times?
from roslyn.
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.
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.
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.
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)
- OverloadResolutionPriorityAttribute seemed no respected HOT 5
- Error in 【MSBuildWorkspace.Create() .OpenSolutionAsync()】:System.Exception (cannotfound BuildHost) HOT 1
- ISymbol.ToMinimalDisplayString() ignores the SymbolDisplayTypeQualificationStyle.NameOnly formatting option. HOT 2
- [Bug] IDE0058 not work
- Task List filtering for current project doesn't work as expected
- switch expression: Warning CS8524 issued although all cases have been covered HOT 5
- Add assembly version information to method tooltips
- Automatic class initialization scaffolding
- Add string to NameOf option in intellisense
- Add IL Viewer for .NET languages HOT 1
- Make fields generated in a primary constructor able to be readonly HOT 1
- Can't see primary constructor variables in debugger
- Run a single generator at a time HOT 1
- Prepend $(NoWarn) to list analyzer rule generates a false positive. HOT 1
- Add compiler warning about CS file name not matching the class/interface contained within
- [Automated] PRs inserted in VS build feature.debugger.main-35020.110
- [Automated] PRs inserted in VS build main-35020.20
- Code Lens doesn't show references on Source Generated files
- Error/Warning messages on network share are not navigable HOT 1
- Cycle in required members
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roslyn.