Andrew Crawley (US - DIAGNOSTICS)
a494bfadbe
Add progress reporting to PortablePdbWriter
...
This commit adds a new parameter to PortablePdbWriter.WritePdb that
allows the caller to provide an implementation of IProgress to receive
status updates on the pdb generation process. Currently, the progress
reports include the number of files generated so far and the total
number of files.
3 years ago
Siegfried Pammer
711db00ac4
#2798 : Add missing token column in debug info tables.
3 years ago
Siegfried Pammer
9017592d1d
Fix #2764 : Move constant field initializers regardless of whether the other field initializers can be moved.
3 years ago
Siegfried Pammer
b85d1ba65a
Fix #2771 : Allow MetadataTypeDefinition.DefaultMemberName to return null if DefaultMemberAttribute is not present.
3 years ago
Siegfried Pammer
e8c4f29738
#2797 : Clarify exception message, if type is not found in the module being decompiled.
3 years ago
Siegfried Pammer
b87f3753e2
Fix #2786 : Structs with static reference type fields not recognized as unmanaged
3 years ago
dependabot[bot]
ed46e9b4ab
Bump actions/setup-dotnet from 2 to 3 ( #2795 )
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Siegfried Pammer
b9f2fc4f96
Fix #2781 : Fix missing nullability annotation on base type
3 years ago
Siegfried Pammer
47250d670b
Fix #2791 : Ensure that the capture scope used is either a loop or the ILFunction root container.
3 years ago
Siegfried Pammer
ac6a2e54ca
Use IsAccessor again.
3 years ago
Siegfried Pammer
927b46b17d
Fix #2787 : Enable NRT in TransformCollectionAndObjectInitializers and fix problems.
3 years ago
Siegfried Pammer
ed02b2eb9e
Add MemberNotNullWhenAttribute to IMethod, IProperty and IEvent. Make sure that it's guaranteed that AccessorOwner is non-null, when IsAccessor is true.
3 years ago
Siegfried Pammer
fc1e9eb5bc
Display linker timestamp in UTC and local time for convenience.
3 years ago
Siegfried Pammer
9f6f7a03ac
Fix #2788 : Handling of cpobj in ILReader was missing the stobj special case for the target pointer.
3 years ago
Siegfried Pammer
1ac1bd6eab
Remove context field from TransformCollectionAndObjectInitializers, inline DoTransform.
3 years ago
Daniel Grunwald
a8a702023f
Merge pull request #2789 from ElektroKill/fix/issue2736
...
Implement a fix for #2736
3 years ago
Siegfried Pammer
9ecdfa78e5
Fix #2790 : Add created assembly list to internal list of lists.
3 years ago
ElektroKill
1447038ce1
Fix #2736
3 years ago
Siegfried Pammer
5ac135095c
Fix #2783 : Include preview versions of .NET in preconfigured assembly list selection.
3 years ago
Siegfried Pammer
a3191f19e2
Fix #2763 : Improve decompilation of switch-on-enum by preserving enum type information when inlining local variables into SwitchInstruction.Value.
3 years ago
Siegfried Pammer
73144e4a29
Port ReflectionHelperTests from NRefactory.
3 years ago
Siegfried Pammer
92e9b28e4d
- Remove static state from DisplaySettingsPanel
...
- Remove static state from DecompilerSettingsPanel
- Remove shortcut ctors from DecompilationOptions
3 years ago
Siegfried Pammer
051aa600e4
Move LanguageVersion to ILSpyX.
3 years ago
Siegfried Pammer
500b439c5d
Another round of fixes in TryReadResource
3 years ago
Siegfried Pammer
7444dd96e3
Refactor Resource.TryGetLength and TryOpenStream.
3 years ago
Siegfried Pammer
3c0ab6a2ce
Fix #2780 : Show embedded resource size
3 years ago
Siegfried Pammer
d631eeda5c
Merge pull request #2766 from icsharpcode/opt/ilreader
3 years ago
Siegfried Pammer
81f575e9ce
Use PopStObjTarget in ILReader, if a call instruction has the same semantics as initobj.
3 years ago
Siegfried Pammer
948da3f9ee
ILInlining: IStatementTransform.Run repeatedly inline all possible statements.
3 years ago
Daniel Grunwald
503048b314
Prevent the early ILInlining pass from creating `addressof` instructions
3 years ago
Daniel Grunwald
9254abcf88
Fix StObj.CheckTargetSlot assertion
3 years ago
Daniel Grunwald
c36c6efb2a
ILReader: don't create stack slots if we can directly created inlined ILAst
...
This is a performance optimization: we dramatically reduce the amount of ILVariables created;
and thus need to spend less time in the first ILInlining run.
3 years ago
Siegfried Pammer
af56bb10d0
Determine isBranchTarget in a separate pass. We will need it for an optimization to ILReader in a future commit.
3 years ago
Daniel Grunwald
0fbbb6d95e
Fix #2777 : StackOverflowException with recursive delegates
3 years ago
Christoph Wille
fa5f58b313
Merge pull request #2774 from cshung/public/refresh-readytorun
...
Refresh ready to run for .NET 7
3 years ago
Christoph Wille
571ae3b5fd
ICS.D is used downstream with specific version requirements re:dependencies. ILSpy itself can use newer version, thus ICS.D.csproj is no longer using version vars from packages.props ( #2776 )
3 years ago
Andrew Au
6985624d58
Refresh ready to run for .NET 7
3 years ago
Siegfried Pammer
2ada0db587
Merge pull request #2762 from hexafluoride/always-use-global
3 years ago
Siegfried Pammer
8901e0e281
Add missing resource string for DecompilerSettings.AlwaysUseGlobal
3 years ago
Siegfried Pammer
63bd913c0e
Prevent our SortResX build target from crashing the CI build.
3 years ago
hexafluoride
fc6ae4c645
Add option to always fully qualify type names with global::
3 years ago
Siegfried Pammer
8a93d8b6e1
Fix #2770 : Add a few additional null-checks in tooltip code.
3 years ago
Siegfried Pammer
6d4c5f3273
Fix #2757 : Inject ILSpyUpdateAssemblyInfo into GetPackageVersionDependsOn so Pack uses the generated version when evaluating project references. ( #2769 )
3 years ago
Siegfried Pammer
d1afa58d53
Addendum to #2759 : Escape names of references as well.
3 years ago
Siegfried Pammer
cd1cea7d85
Fix #2759 : Some characters cause rendering issues in the tree view causing ILSpy to freeze. Also ignore embedded resources with an invalid offset, treat them as having zero byte length.
3 years ago
Siegfried Pammer
5b8f6e7814
Merge pull request #2768 from icsharpcode/delete-temp-files
3 years ago
Siegfried Pammer
6139d9d58e
Delete created temp files if test execution was successful.
3 years ago
Siegfried Pammer
d2cc9e0989
Merge pull request #2765 from icsharpcode/issue/1204
3 years ago
Daniel Grunwald
8b906f5c65
Fix unnecessary dict creation in TSAB constructor.
3 years ago
Siegfried Pammer
583f661153
Work on #1204 : Add optimized implementation of HasAttribute and GetAttribute to IEntity.
3 years ago