Siegfried Pammer
d248867302
Add support for C# 10 record structs.
3 years ago
Christoph Wille
de350f19dd
Switch action to Windows machine
3 years ago
Christoph Wille
f5269769be
CycloneDX BOM generation
3 years ago
Siegfried Pammer
39992161b6
Fix #2692 : NRE in DeconstructionTransform.IsCompatibleImplicitConversion
3 years ago
Daniel Grunwald
672cff6897
Merge pull request #2677 from fowl2/GuessFakeMethodAccessor
...
Assume conventionally named unresolved method references are properties or events
3 years ago
James May
4aaf452b75
Merge branch 'icsharpcode:master' into GuessFakeMethodAccessor
3 years ago
Siegfried Pammer
c0f0135373
#2691 : Do not use AssemblyDefintion.GetAssemblyName().
...
This fails in culture-invariant mode (ilspycmd) when trying to work with satellite assemblies, because System.Reflection.AssemblyName tries to retrieve CultureInfo of the assembly culture.
3 years ago
Siegfried Pammer
a791612077
Fix broken HexFilterControl
3 years ago
Siegfried Pammer
44aa41d933
Fix #2686 : Introduce ToolPaneModel.AssociatedCommand to allow overriding Window-menu action.
3 years ago
Siegfried Pammer
7e08c348b5
#2685 : Emit 'override' without 'newslot' as 'virtual' if there is no (known) method to override.
3 years ago
Siegfried Pammer
c66eb7bbef
#2685 : Hide ctors from ComImport classes.
...
#2685 : Remove logic added in previous commit, as it breaks our ILPretty tests.
3 years ago
Siegfried Pammer
3e05a8d763
#2685 : Emit 'override' without 'newslot' as 'virtual' if there is no (known) method to override.
3 years ago
Siegfried Pammer
1aa36a23f2
Use test-summary/action@v1 for test reports.
3 years ago
Siegfried Pammer
e61f46c474
Add MethodCodeType argument to MethodImplAttribute.
3 years ago
Siegfried Pammer
146fd72e4f
Do not add NETCORE preproc symbol if CompilerOptions.TargetNet40 is specified.
3 years ago
Siegfried Pammer
54a3bba820
#2685 : Do not add interface impl helper for extern methods.
3 years ago
Siegfried Pammer
ca9c288dc5
Merge pull request #2678 from andrewcrawley/custom-pdb-id
3 years ago
Daniel Grunwald
d6d0392d2f
Fix crash when IL byte code unexpectedly ends in the middle of an operand.
3 years ago
Andrew Crawley (US - DIAGNOSTICS)
071ca33561
Fix file locking issue in tests
3 years ago
Siegfried Pammer
6ff0dd41b9
Merge pull request #2679 from fowl2/debugDirectory
3 years ago
Siegfried Pammer
54b5c22283
Fix formatting.
3 years ago
Daniel Grunwald
e9a2bf4556
Merge pull request #2684 from icsharpcode/hide-compiler-generated-code
...
Keep compiler-generated code that is still referenced
3 years ago
Siegfried Pammer
e043f43925
Ignore local functions when collecting used members.
...
This is necessary because LocalFunctionMethod.DeclaringTypeDefinition points to the current type.
3 years ago
Siegfried Pammer
40ffc1e90e
Remove backing fields of auto properties and events.
...
The previous commit started decompiling backing fields because they are still needed prior to the C# transforms.
3 years ago
Siegfried Pammer
b7edf2eb59
Detect compiler-generated code that is still needed after decompilation.
3 years ago
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