-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArgumentException on ReEntrantSetupAnalyzer on first load #46
Comments
Hi @dtchepak could you share the source code of the project or the problematic file? I am guessing that compilation is not yet ready and I have to somehow guard against that |
I can't sorry. It is a large project in a private repo. If it is not observable with a new blank project then maybe just close this. (Unless can defensively code |
I will try to do some defensive checks, simillary as in |
@tpodolak Of course, happy to test using a local nuget package! |
@dtchepak I've added a defensive check for verifying if syntax tree is within compilation, as I still cannot reproduce the issue, please try to use this package and check if the issue exists (change zip to nupkg) |
@tpodolak Thanks! I'll test as soon as I can. |
@dtchepak |
@tpodolak This seems to fix it in my testing! The change looks nice and straightforward too! 😄 |
…ing (#49) to find re-entrant calls
Using 1.0.0 C#.
On first adding the package, or first loading the project in VS, I get the following error (anonymised slightly). It seems to go away after running a build.
The text was updated successfully, but these errors were encountered: