Siegfried Pammer
343694c549
Generalize progress reporting for decompilation and PDB generation.
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
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
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
5046e4cf60
Fix #2718 , Fix #2719 , Fix #2725 : Remove WPF compiler-generated code.
3 years ago
Siegfried Pammer
f695bbcf3a
Add support for DefaultInterpolatedStringHandler
3 years ago
Siegfried Pammer
8dd721aee3
Fix #2706 : Filenames and directories truncated to 30 characters.
...
With the built-in support for long paths in .NET 6.0, we no longer need to check for the registry key. The only limitation that remains is maxSegmentLength, which seems to be 255 on all commonly used file systems/all platforms. Also there is no need to differentiate between Windows and other platforms.
- Windows Explorer in Windows 10 seems to be fine with files generated by ILSpy that have names longer than 260 characters.
- Notepad++ and other applications seem to use 8.3 path syntax to access the file.
- Visual Studio 2022 does not like the long path names, affected users should raise an issue with MS. ILSpy generates proper paths.
3 years ago
Siegfried Pammer
702a7da2c3
Fix #2714 : Force inlining of call targets in ctor initializers.
3 years ago
Siegfried Pammer
9e462b53ad
Add support for C# 11 parameter null checks
3 years ago
Siegfried Pammer
f72e0a866b
Turn on WarningsAsErrors for nullable warnings in ICSharpCode.Decompiler
3 years ago
Christoph Wille
4b8e6a421a
Remove "HACK: Disable package generation on Unix due to tooling issues." ( #2670 )
3 years ago
Christoph Wille
a0fece6f5f
Add PackageReadmeFile
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
6a6e82c372
Use ReferenceAssemblyAnnotator in ICSharpCode.Decompiler.csproj
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
f28749ebe0
Fix build.
3 years ago
Siegfried Pammer
b3f8e4fe3c
Simplify update-assemblyinfo.ps1 and introduce public DecompilerVersionInfo class.
3 years ago
Siegfried Pammer
8cc0bf8b49
Generalize FindTypeDecoder
3 years ago
Siegfried Pammer
406f537fbe
Ditch nuspec.template
3 years ago
Christoph Wille
5ff81c25f8
Update (c) for 2022
3 years ago
Christoph Wille
963a99d330
Update NuGet packages
3 years ago
Christoph Wille
1b3a73d9e9
Add ETW for event + property decompilation as PoC
4 years ago
Siegfried Pammer
07199e2ecf
Fix #2038 : Add proper support for Long paths on Windows 10 and limit path segments to 255 characters (with long path support) or 30 characters. If a PathTooLongException is thrown display a better error message on project export.
4 years ago
Siegfried Pammer
dbbcbb87fe
Make pattern matching transform a simple ILTransform for both reference and value types. Check that the true branch dominates all uses of the pattern variable.
4 years ago
Siegfried Pammer
83727ea4b0
Add support for value type patterns
4 years ago
Siegfried Pammer
c641072685
Translate MatchInstruction to BinaryOperatorExpression with BinaryOperatorType.IsPattern.
4 years ago
Daniel Grunwald
040ab41c69
Initial implementation of the pattern matching transform.
4 years ago
Christoph Wille
6e4566d224
Add back DebugSymbols to csproj
4 years ago
Christoph Wille
b95f3aa1d2
Switch release and debug to embedded debug info
4 years ago
Christoph Wille
648fe32aa0
Reproducible builds, see https://devblogs.microsoft.com/dotnet/producing-packages-with-source-link/ and https://github.com/dotnet/reproducible-builds (for Release only)
4 years ago
Siegfried Pammer
1f0f6404e0
Fix #2231 : Add support for ldloca; dup; initobj pattern used by Roslyn.
4 years ago
Daniel Grunwald
6757295b3b
Fix #2379 : Keep `return` statements around in original form for ConditionDetection, only transform to fall-through block-exit at the end of the transform pipeline.
...
This fixes an issue where `return` statements within try-blocks could turn into `goto` statements.
4 years ago
Siegfried Pammer
5734da4294
Fix #2314 : ILSpy incorrectly resolves a runtime dependency when dll is present in both WindowsDesktop.App and NETCore.App
4 years ago
Daniel Grunwald
281586de1f
`#enable nullable` for a couple of files.
...
Includes some fixes for potential NullReferenceExceptions.
4 years ago
Daniel Grunwald
2e1fdab869
#2286 : Enable server-mode GC in ILSpy
...
This results in significant performance improvements when decompiling a project/solution, cutting the run-time in half.
4 years ago
Daniel Grunwald
c9be6bc389
Remove unused code ( #2294 )
4 years ago
Siegfried Pammer
a5858f1694
Add support for primary constructor syntax.
4 years ago
Siegfried Pammer
cc19e9043e
Fix #603 : Single element arrays should not span multiple lines
...
Fix #1079 : CSharpFormattingOptions.AutoPropertyFormatting has no effect
4 years ago
Siegfried Pammer
3df82cf33b
Add support for 'with' expressions
4 years ago
Christoph Wille
7e12192288
Update copyright information for 2021
4 years ago
Siegfried Pammer
c986dbe889
Fixes #2232 : We only need a small percentage of features provided by Humanizer. Therefore we copy the relevant parts and remove the dependency in order to avoid such problems in the future.
5 years ago
Daniel Grunwald
90ce77f400
Omit EqualityContract if it's automatically generated.
5 years ago
Daniel Grunwald
a354b32a16
Add support for .NET bundles.
5 years ago
文煌
d041ab531c
add win32 resources reader
5 years ago
Siegfried Pammer
abb6d54acc
Add FileUtility.cs
5 years ago
Daniel Grunwald
0eb5469374
Extract package version numbers to packages.props.
5 years ago
Christoph Wille
1ef136d6e6
Try upgrading to newer versions as per #2173 . MEF fails to initialize for System.Collections.Immutable (binding redirect?)
5 years ago
Kirill Osenkov
6d7a479e56
Remove link to non-existing file.
...
This breaks build incrementality (fast up-to-date check) thinks XML Documentation.html is missing so it decides to rebuild the project every time, even if nothing has changed.
5 years ago
Daniel Grunwald
cabb02b5fd
Add support for decoding function pointer types in signatures.
5 years ago
Daniel Grunwald
7f915ad035
Add `OutVarResolveResult` to overload resolution (not yet used by CallBuilder)
5 years ago