-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
PDB Generation is confused by enhanced using statements #2177
Comments
Today I tried JetBrains' |
Triage: this is caused by the use of enhanced using statements. The omission of the block syntax needs to be special-cased in PDB generation as well. |
siegfriedpammer
changed the title
Generating PDB throws System.ArgumentOutOfRangeException and results in producing a size 0 PDB
PDB Generation is confused by enhanced using statements
Oct 4, 2020
dgrunwald
pushed a commit
that referenced
this issue
Oct 7, 2020
(cherry picked from commit 65a5af2)
Nicceboy
added a commit
to cincanproject/tools
that referenced
this issue
Nov 25, 2020
ElektroKill
added a commit
to dnSpyEx/ILSpy
that referenced
this issue
Aug 9, 2021
…atements (cherry picked from commit 65a5af2)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to reproduce
Tried both ILSpy & ilspycmd to generate PDB for
Newtonsoft.Json.dll 12.0.3
, found both throwingSystem.ArgumentOutOfRangeException
and resulted in producing a size 0Newtonsoft.Json.pdb
.Tried the same for
C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.5\System.Linq.dll
&C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.5\System.Linq.Expressions.dll
as well, got the same issue.Error message shown
ilspycmd Newtonsoft.Json.dll -genpdb
, I got:Newtonsoft.Json.pdb
.Details
The text was updated successfully, but these errors were encountered: