Siegfried Pammer
1532d2fc29
Refactor DoDecompile(ITypeDefinition): Extract handling of members and types into local function. Order of output no longer depends on the order of decompilation, which will become relevant in the next commit.
3 years ago
James May
3693c0c9e9
Add Debug Directory raw data and sub tree nodes, with special handling for:
...
* CodeView
* EmbeddedPortablePdb
* PdbChecksum
3 years ago
Andrew Crawley (US - DIAGNOSTICS)
696cbc2136
Allow user to provide ID when generating a PDB
...
This commit adds a new parameter to PortablePdbWriter.WritePdb that
allows the caller to specify the exact Guid and timestamp that should be
used in the generated PDB. This will be useful for several scenarios
that are interesting for the Visual Studio debugger's integration:
1. Generating a PDB for an assembly that was built without debug info.
The PDB writer currently fails in this case, since the input assembly
has no debug directory from which to extract the relevant info. The
debugger can provide values that will allow us to load the generated
PDB.
2. Generating a PDB for an assembly that has multiple debug directories.
The PDB writer currently uses the first debug directory it finds, but
this isn't necessarily the correct one. The debugger can provide the
correct values.
3 years ago
James May
e563294925
MemberImplementsInterfaceAnalyzer: hide for unresolved members
3 years ago
James May
f8353d3181
MethodUsedByAnalyzer: Hide for unresolved methods
3 years ago
James May
4a1f79a32a
Assume conventionally named unresolved method references are properties or events.
...
eg. decompiles to .Property instead of .get_Property()
3 years ago
Christoph Wille
d5be62eb80
Fix #2675
3 years ago
Christoph Wille
2040570697
First GH release for version 8 will be Preview1
3 years ago
Siegfried Pammer
6a3bb2bbf1
Fix #2655 : TranslateArrayInitializer crashes with out of order array init
3 years ago
Siegfried Pammer
b0ec01de80
Fix #2610 : Explicitly qualify members in TemplateBindings.
...
At a later point, we can add some more logic that tries to infer the target type of the binding and applies simplification accordingly.
3 years ago
Siegfried Pammer
68b388bc36
Disable DecompilerSettings.ParameterNullCheck
3 years ago
Siegfried Pammer
ba177459f1
Fix comment.
3 years ago
Siegfried Pammer
a121e7c6ca
Fix #2653 : ILSpy reports wrong visibility for overridden protected internal properties if located in another assembly.
3 years ago
Siegfried Pammer
73f2493644
Fix #2629 : Indentation of method-call chains.
3 years ago
Siegfried Pammer
13da4c48d4
Fix #2632 : Make sure that changing the setting "ExpandMemberDefinitions" has an effect when refreshing a decompiled view.
3 years ago
Siegfried Pammer
9e462b53ad
Add support for C# 11 parameter null checks
3 years ago
Siegfried Pammer
96dedf1866
Add C# 11 language version.
3 years ago
Siegfried Pammer
a920fdfa60
Move to Roslyn 4.1.0
3 years ago
Siegfried Pammer
6a27959cbc
Improve decompilation of delegate references of extension methods.
3 years ago
Siegfried Pammer
05eb2cdf04
Fix #2363 : CLI support for generating a solution from multiple projects (based on code provided by @marwie in #2364 )
3 years ago
Siegfried Pammer
f72e0a866b
Turn on WarningsAsErrors for nullable warnings in ICSharpCode.Decompiler
3 years ago
Siegfried Pammer
78c7ece12d
* Include missing .json config in ILSpy.Installer.
...
* Add build action to check file lists of msi and vsix packages.
3 years ago
Christoph Wille
4b8e6a421a
Remove "HACK: Disable package generation on Unix due to tooling issues." ( #2670 )
3 years ago
Siegfried Pammer
0bc11d05d3
Fix #2634 : target expressions of delegate references were not decompiled correctly
3 years ago
Siegfried Pammer
b834bcf6e9
Merge pull request #2639 from zhuman/com_method_ordering
3 years ago
Christoph Wille
a0fece6f5f
Add PackageReadmeFile
3 years ago
Siegfried Pammer
006bc18a96
Run ComInterop test case only on .NET 4.0.
3 years ago
Zachary Northrup
0921d83e0d
Add testing of overloaded methods to COM V-table test
3 years ago
Zachary Northrup
abf36b0f43
Add a unit test validating that COM V-table ordering doesn't change with mixed properties, methods, and events
3 years ago
Zachary Northrup
9c17029702
Fix the ordering of COM interface methods and properties to appear in their originally defined order. This was resulting in fatal crashes while running decompiled COM interop code.
3 years ago
Siegfried Pammer
c9da59bec3
Ignore pragma warning directives in CodeAssert, as the decompiler never produces these.
3 years ago
Siegfried Pammer
de5b72114e
Fix nullable and other warnings.
3 years ago
Siegfried Pammer
93dcba3426
* Rename Metadata.GenericContext to MetadataGenericContext to avoid conflicts with TypeSystem.GenericContext
...
* Change MetadataGenericContext to readonly struct
* Rearrange types in Dom.cs
3 years ago
Siegfried Pammer
234eb071f0
Fix nullability warnings in FindTypeDecoder.
3 years ago
Siegfried Pammer
d19c93fc41
Fix #2645 : ToPrimitiveTypeCode: return 0, if known type is not primitive.
3 years ago
Siegfried Pammer
e410df58b8
Move ExportAnalyzerAttribute to separate file.
3 years ago
Siegfried Pammer
2e31427d56
Fix nullability warnings in AstNode and XmlDocumentationElement.
3 years ago
Siegfried Pammer
3d35240224
Fix nullability warning and bug in UniversalAssemblyResolver.
3 years ago
Siegfried Pammer
504d16e44d
Use ReferenceAssemblyAnnotator in ILSpy.AddIn.csproj and ILSpy.AddIn.VS2022.csproj
3 years ago
Siegfried Pammer
4c1931d5c6
Fix NRT warning in GetBlockStateSetMappingForLeave.
3 years ago
Siegfried Pammer
6a6e82c372
Use ReferenceAssemblyAnnotator in ICSharpCode.Decompiler.csproj
3 years ago
Siegfried Pammer
a4e2bd7f8f
Handle leave instructions in state-range analysis.
3 years ago
Siegfried Pammer
84c15bb24f
Fix #2652 : AwaitInFinallyTransform: ILAst must form a tree
3 years ago
Siegfried Pammer
7019e1c02f
Make sure that update-assemblyinfo.ps1 fails if PowerShell >= 5.0 is not installed.
3 years ago
Siegfried Pammer
976ec4d871
Update System.Collections.Immutable, SRM and System.CompilerServices.Unsafe to 6.0.0
3 years ago
Daniel Grunwald
a9f4694563
Add test for C# 11 generic attribute
3 years ago
Siegfried Pammer
f1d06e2e83
Fix #2666 : Namespace Nesting in the Tree View (based on code by @ds5678 provided in #2667 )
3 years ago
Christoph Wille
d89b185e62
Main build collects ilspycmd package
3 years ago
Christoph Wille
afff9c325d
Rename ics.d.Console to ics.ILSpyCmd
3 years ago
Christoph Wille
e044038b67
Run CodeQL everywhere
3 years ago