Christoph Wille
d54ac416f7
SharpTreeView: Split into ILSpyX.TreeView and ILSpy.Controls.TreeView ( #3240 )
...
* Changes necessary for making SharpTreeNode cross platform by proxying System.Windows dependencies
* Add ITreeNodeImagesProvider for node icons
* Move InternalsVisibleTo to csproj (possible since net50)
* Move view models and other xplat class for SharpTreeView to ILSpyX, Windows-dependent classes to ILSpy/Controls/TreeView
* Move GetDoubleClickTime to NativeMethods
1 year ago
Siegfried Pammer
2e7991eee3
TransformDisplayClassUsage: Fix #3233 by ignoring nullability annotations, when trying to find a variable to reuse/propagate.
1 year ago
Daniel Grunwald
8e7e4ba856
Revert "Add support for C# 11 parameter null checks"
...
This reverts commit 9e462b53ad
.
1 year ago
Christoph Wille
f037eb6ac4
Fix .NET version mixup in instructions for building on Windows
1 year ago
Daniel Grunwald
aa914058ce
Fix #3237 : Use `ref readonly` locals for `readonly.ldelema`
1 year ago
Siegfried Pammer
5a66518581
Add more tests for C# 12 ref readonly parameters
1 year ago
Siegfried Pammer
82256c47fb
Add test case for C# 12 optional parameters in lambdas.
1 year ago
Siegfried Pammer
67a0bfb051
Update to Roslyn 4.10.0
1 year ago
Siegfried Pammer
7b1f8a305c
Implemented support for string concatenation compound assignments involving ReadOnlySpan<char>.
1 year ago
Siegfried Pammer
1c71f6ad46
Support concatenation involving arguments of type ReadOnlySpan<char>.
1 year ago
Daniel Grunwald
1616d15572
Move roundtrip tests to their own namespace.
...
This makes it easier to run the fast non-roundtrip tests.
1 year ago
Siegfried Pammer
9548a11d37
Use ILSpyHelper_AsRefReadOnly to ensure that overload resolution can pick the correct overload using 'in'.
1 year ago
Siegfried Pammer
03a20f3494
Support ILInlining for in parameters
1 year ago
Siegfried Pammer
fd1de09489
Avoid using operator + for string concatenation when ref-like types are involved.
1 year ago
Siegfried Pammer
e6004e5f26
Handle ReferenceKind.RefReadOnly in a few more cases
1 year ago
Siegfried Pammer
28aa88bfb8
Make NullableLiftingTransform handle the case where ExpressionTransforms.VisitComp already lifted a nullable comparison with constant.
1 year ago
Siegfried Pammer
9d22e3ab41
NullableLiftingTransform: Undo new compiler optimization (omitting get_HasValue for comparisions with constants)
1 year ago
Siegfried Pammer
cf5f10067e
CallBuilder: Extract handling of interpolated string pattern into separate method.
1 year ago
Siegfried Pammer
fe879869c3
ExportAnalyzerAttribute: Simplify pattern matching and avoid multiple enumeration
1 year ago
Siegfried Pammer
427fbcd8c0
Fix general using statement pattern
1 year ago
Christoph Wille
d0bdf185d3
Merge pull request #3239 from icsharpcode/ilspyx-collect-analyzers
...
Allow to collect analyzers annotated with ExportAnalyzerAttribute without MEF
1 year ago
Siegfried Pammer
dab256ceb0
Update stackalloc initializer patterns for Roslyn 4.10.0.
1 year ago
Andreas Weizel
f2437bb046
Allow to collect analyzers annotated with ExportAnalyzerAttribute without MEF
...
This helps users of ILSpyX not using MEF.
Currently only ILSpyX assembly itself is searched
for annotated analyzer types.
1 year ago
Siegfried Pammer
a5ed5ec5cb
Support types that provide DisposeAsync without implementing IAsyncDisposable.
1 year ago
Siegfried Pammer
783c934bfd
Transform RequiresLocationAttribute to 'ref readonly' on function pointers.
1 year ago
Siegfried Pammer
02d2a8c1f8
Add metadata processing for C# 12 'ref readonly' parameters
1 year ago
Siegfried Pammer
5d36732fcf
Remove ApplyPdbLocalTypeInfoTypeVisitor (merge it into ApplyAttributeTypeVisitor)
1 year ago
Siegfried Pammer
3b2affa13b
Add new language versions to DefineConstants in Decompiler.Tests
1 year ago
Siegfried Pammer
4bf9487ecd
Remove IsRef, IsOut and IsIn flags from IParameter and Replace ParameterModifiers with ReferenceKind.
1 year ago
Daniel Grunwald
da24b7d126
Add BuildTools/format.bat
1 year ago
Christoph Wille
e0c37cc2a7
Merge pull request #3238 from icsharpcode/feature/dotnet-format8
...
Fix dotnet-format to v8 via transport feed for dotnet8
1 year ago
Christoph Wille
28b7280741
Fix dotnet-format to v8 via transport feed for dotnet8. See also PR #2747
1 year ago
Daniel Grunwald
ce8fb83c52
Forgot to commit some files
1 year ago
Daniel Grunwald
d48df11133
Remove unused transforms: DecimalConstantTransform and ParameterNullCheckTransform
1 year ago
Christoph Wille
4693fba417
Update NuGet packages
1 year ago
Siegfried Pammer
e5b8aaabdf
Merge pull request #3231 from icsharpcode/feature/mtga
...
Make Tests Great Again
1 year ago
Christoph Wille
ae338a001e
Early return if DecompilerTests.config.json doesn't exist (saves time with ConfigurationBuilder)
1 year ago
Christoph Wille
17a6197a6a
Add TestsAssemblyTempPath to enable the ability to redirect to a central location
1 year ago
Christoph Wille
c940cbc1d9
Add TestsAssemblyOutput, keep existing behavior of output assembly locations
1 year ago
Christoph Wille
7e1523111a
Set RuntimeIdentifier based on OS architecture
1 year ago
Siegfried Pammer
476e80b190
Use uncompressedStream for PEFile in XamarinCompressedFileLoader
1 year ago
Daniel Grunwald
fa19470435
Fix #3218 : Avoid exceptions when IL is invalid due to unexpected end-of-method-body.
1 year ago
Siegfried Pammer
6c08851cb0
#3209 : Only add imports for extension methods.
1 year ago
Siegfried Pammer
972354913e
Fix #3209 : Ensure using directives are added for extension methods in higher level patterns such as: foreach -> GetEnumerator(), collection initializer -> Add() and deconstruction -> Deconstruct().
1 year ago
Christoph Wille
dd7d7b806f
Update command line options documentation to latest released version
1 year ago
Siegfried Pammer
401cb77ae3
Fix #3189 : Support primitive types in Expression.Constant(object) pattern.
1 year ago
Christoph Wille
c269b99d67
DllImport to LibraryImport in SharpTreeView
1 year ago
Siegfried Pammer
cc421d9513
PackageFolderTreeNode: Allow .exe extension in addition to .dll.
1 year ago
Siegfried Pammer
77b237d5a4
Fix mysteriously deleted issue #3197 : Skip file formats that currently can only be loaded from a file when dealing with a file from a bundle or package.
1 year ago
Christoph Wille
399ba1c010
Enable certain commands only on Windows ( #3217 )
1 year ago