Christoph Wille
d50153fd48
Update frontends for p3
4 years ago
Christoph Wille
ee10d2942b
Update for v7 P3
4 years ago
Siegfried Pammer
efd16421b9
Metadata: Reset filter before reusing the DataGrid view instance.
4 years ago
Siegfried Pammer
68275deb05
Metadata: Fix typo in PropertyMap table
4 years ago
Siegfried Pammer
ae3306b966
Fix #2312 : Constructors and operators may not have any generic type parameters in C#
4 years ago
Siegfried Pammer
c347bbe3d4
Fix exception in search, in case the declaring type of a property or event cannot be found.
4 years ago
Siegfried Pammer
fdb5ec97e2
Fix build.
4 years ago
Siegfried Pammer
feb623d602
Fix #2234 : Implement support for nuget packages/bundles in search, analyzers and the derived types list.
4 years ago
Siegfried Pammer
5740068753
Fix #2310 : Do not set mainAssemblyFileName in UniversalAssemblyResolver in case LoadedAssembly.FileName is not a full path.
4 years ago
Siegfried Pammer
bf8166d045
Fix #2291 : block container end labels should be unique as well.
4 years ago
Christoph Wille
8c27d0ca61
Go back to 3.1.x after test-building https://github.com/icsharpcode/ILSpy/actions/runs/605177041
4 years ago
Christoph Wille
50ad65cf3e
Use 5.0.x SDK for building
4 years ago
Siegfried Pammer
e6c351c43d
Do not use single-line formatting for auto properties/indexers if there are attributes.
4 years ago
Siegfried Pammer
4bef47e454
Fix #2207 : Fix ViewState handling on refresh and tab change. Include active tab in history.
4 years ago
Daniel Grunwald
f286ddb952
Merge pull request #2315 from icsharpcode/fix-1828
...
Ensure base references have the correct type
4 years ago
Siegfried Pammer
280a94ce5d
Fix #1828 , Fix #2290 : Ensure base references have the correct type and are turned into this references and casted if necessary
4 years ago
Siegfried Pammer
bdff99170c
#1828 : Add test case
4 years ago
Daniel Grunwald
f2d3f259fd
#2311 : Adjust test case for #1292 -- fixed statement is now correctly detected
4 years ago
Daniel Grunwald
a01c63dc62
Fix nullability warning: avoid NullReferenceException in the theoretical case where an unknown PrimitiveTypeCode is passed.
4 years ago
Daniel Grunwald
eec24ee6bb
Fix #2311 : Handle additional `comp` instruction in `IsNullSafeArrayToPointerNotNullBlock`
4 years ago
Christoph Wille
3d0ac99c5f
Merge pull request #2309 from icsharpcode/update-nugets
...
Update nuget packages
4 years ago
Siegfried Pammer
43143a0cb7
Update the following nuget packages to the latest stable version:
...
* Dirkster.AvalonDock
* System.Composition
* OSVersionHelper
* DataGridExtensions
* Microsoft.Xaml.Behaviors.Wpf
4 years ago
Siegfried Pammer
d055dc784b
Merge pull request #2281 from wwh1004/fix2
...
Fix baml decompiler can't find EventSetter
4 years ago
Matt Rouse
a8229dcfe1
C# decompiler doesn't support WinRT metadata ( #2308 )
...
Fix #2306 : Use GetRowNumber MetadataReader extension
Co-authored-by: Siegfried Pammer <siegfriedpammer@gmail.com>
Co-authored-by: Matt Rouse <matt.rouse@ensek.co.uk>
4 years ago
Siegfried Pammer
3431881345
Fix #2307 : potential NRE in IntroduceExtensionMethods
4 years ago
Christoph Wille
e2fd9eb7cd
Remove build definitions for AppVeyor and Azure DevOps
4 years ago
Daniel Grunwald
6410a7558e
Use `dotnet-format` so it works on GitHub actions
4 years ago
Daniel Grunwald
51b3cf51c6
Fix #2305 : Cast to integer type where necessary in managed pointer arithmetic.
4 years ago
Daniel Grunwald
b4c5c0d212
Fix #2287 : Prefer `ref target.field[0]` over `ref *target.field`
4 years ago
Siegfried Pammer
afa4db00b6
Fix #2297 : Add an option to disable decompilation of getter-only auto properties.
4 years ago
Siegfried Pammer
95efbac8ff
Remove dotnet-format check from workflow (it's now included in the tidy.py check)
4 years ago
Siegfried Pammer
404f8ed71d
Add dotnet format to tidy.py
4 years ago
Daniel Grunwald
f726a0b73e
#nullable enable for typesystem and ILInstruction base class
4 years ago
Daniel Grunwald
c9aebd3763
Fix code formatting.
4 years ago
Daniel Grunwald
281586de1f
`#enable nullable` for a couple of files.
...
Includes some fixes for potential NullReferenceExceptions.
4 years ago
Siegfried Pammer
f35074ebd8
Fix #2257 : Add global:: prefix, iff the containing namespace matches the type name.
4 years ago
Siegfried Pammer
34557ab76b
#2294 : Remove redundant condition
4 years ago
Siegfried Pammer
67be41a998
#2294 : Fix potential NRE: finalStore is accessed before null check.
4 years ago
Daniel Grunwald
fa9351c89f
Fix #2295 : Don't attempt to decompile bundle; instead show info from bundle header.
4 years ago
Daniel Grunwald
a7c2869397
Fix exception when trying to resolve references within a bundle.
4 years ago
Daniel Grunwald
7c9f1dc8ef
#2295 : Avoid using `GetPEFileOrNull` if we can't actually handle a `null` return value
...
This improves the exception message shown when trying to disassemble a .nupkg as IL.
4 years ago
Daniel Grunwald
2f14cde050
#2295 : Handle BadImageFormatException in LoadAssembly.
...
When nuget packages are <40 KB, SRM seems to throw `BadImageFormatException` instead of `PEFileNotSupportedException`.
4 years ago
Daniel Grunwald
0c23ab1998
Merge pull request #2301 from icsharpcode/async-resolve
...
async IAssemblyResolver
4 years ago
Siegfried Pammer
501d418f25
Merge pull request #2289 from wwh1004/fix4
...
Fix wrong nullable lift
4 years ago
Siegfried Pammer
3b2f00e44f
Add test case.
4 years ago
Siegfried Pammer
fff2d0a787
Fix assertions on AssemblyList.Sort and AssemblyList.Unload. Fix hang on LoadDependencies.Execute.
4 years ago
Christoph Wille
2364aeb28f
Enable serverGc in ilspycmd, see #2286
4 years ago
Daniel Grunwald
263d9b9e07
Simplify the assembly-resolving implementation.
...
* We no longer maintain the weird `loadingAssemblies` global state.
* AssemblyList now internally handles multiple concurrent load requests for the same filename.
* AssemblyList.assemblies and its lock is now private to the AssemblyList.
* Removed a questionable caching layer (cache was per-AssemblyList, but was caching the result of a per-LoadedAssembly lookup function.
* Replaced static DisableAssemblyLoad() with bool-parameter on GetAssemblyResolver() call.
4 years ago
Daniel Grunwald
3664e36e3e
Fix GetAssemblyReferenceClassifier() not initializing the universalResolver.
4 years ago
Daniel Grunwald
d70bfe80d5
Add ResolveAsync() method to IAssemblyResolver interface.
...
DecompilerTypeSystem uses this to resolve/load multiple assemblies in parallel.
Unfortunately this doesn't gain us any performance yet in ILSpy because there we have a global assembly-loader-lock :(
4 years ago