Siegfried Pammer
4864ef4462
Merge pull request #3243 from icsharpcode/improved-variable-names
...
Rewrite AssignVariableNames
10 months ago
Siegfried Pammer
930a4a20d1
Fix #3255 : Ignore exceptions while decoding sequence point blobs.
10 months ago
Siegfried Pammer
39d5deb38c
Refresh AssemblyTreeNode tooltip after selecting a new PDB.
10 months ago
Siegfried Pammer
cb63f3c873
Fix #3256 : Remove hard-coded Height of PART_searchTextBox in SearchPanel
10 months ago
Siegfried Pammer
215964a53a
Merge pull request #3235 from icsharpcode/cs12/primary-ctors
...
Add C# 12 primary constructors
10 months ago
Siegfried Pammer
6cee0cdc4b
Fix #3258 : Move GraphVizGraph and friends to ILSpy and remove InternalsVisibleTo.
10 months ago
Siegfried Pammer
2043e5dd6f
Add support for C# 12 primary constructors.
11 months ago
Siegfried Pammer
fa0ab07d23
Merge pull request #3252 from tom-englert/dev/#3251
...
Fixes #3251 : Decompiler Settings: Checkbox in group header does not reflect state of the group
11 months ago
Siegfried Pammer
e9949df541
Add missing property and event definitions when a single constructor was selected in the ILSpy tree view.
11 months ago
Siegfried Pammer
13fd903016
Add extension method to get metadata TypeAttributes for an ITypeDefinition
11 months ago
tom-englert
1520b41341
Simplify layout
11 months ago
tom-englert
d435f5ffaf
Fix #3251 : Decompiler Settings: CheckBox in group header does not reflect state of the group
11 months ago
tom-englert
45cfb8fdbe
Fix #3249 : Settings panel shows strange hover/selection behavior
11 months ago
tom-englert
7e74de2815
Fix #3246 : Choppy scrolling when scrolling fast after smooth scrolling introduction ( #3248 )
...
* Fix #3246 : Choppy scrolling when scrolling fast after smooth scrolling introduction
* Update TomsToolbox to fix AdvancedScrollWheelBehavior and apply to all scroll viewers.
* Also activate AdvancedScrollWheelBehavior on the special ZoomScrollViewer
---------
Co-authored-by: tom-englert <thomas.englert@avl.com>
11 months ago
Siegfried Pammer
065e7eca1d
Fix #3227 : Only call NewLine() in case no property initializer is present.
11 months ago
Siegfried Pammer
dbd9632f34
Fix #3247 : InvalidOperationException thrown when reading debug metadata files
11 months ago
Christoph Wille
d1c7a51a1d
Remove dangling project references for SharpTreeView ( #3245 )
11 months ago
Christoph Wille
a8eeed102f
Merge pull request #3244 from tom-englert/dev/smoothscrolling
...
Add smooth scrolling behavior to settings panels and DecompilerTextView
11 months ago
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
11 months ago
tom-englert
799dcf02cf
Add smooth scrolling to settings panels and DecompilerTextView
11 months ago
Siegfried Pammer
2e7991eee3
TransformDisplayClassUsage: Fix #3233 by ignoring nullability annotations, when trying to find a variable to reuse/propagate.
11 months ago
Siegfried Pammer
2ca5b5affe
Rewrite AssignVariableNames algorithm to use variable usages instead of the list of variables.
11 months ago
Daniel Grunwald
8e7e4ba856
Revert "Add support for C# 11 parameter null checks"
...
This reverts commit 9e462b53ad
.
11 months ago
Christoph Wille
f037eb6ac4
Fix .NET version mixup in instructions for building on Windows
11 months ago
Siegfried Pammer
c67d086e2f
Add test cases for naming conflicts related to foreach, using and fixed variables. Remove unnecessary ConflictWithLocal check in AssignVariableNames.
11 months ago
Siegfried Pammer
3fb153940b
AssignVariableNames: Handle fixed statement special cases
11 months ago
Daniel Grunwald
aa914058ce
Fix #3237 : Use `ref readonly` locals for `readonly.ldelema`
11 months ago
Siegfried Pammer
5a66518581
Add more tests for C# 12 ref readonly parameters
11 months ago
Siegfried Pammer
82256c47fb
Add test case for C# 12 optional parameters in lambdas.
11 months ago
Siegfried Pammer
67a0bfb051
Update to Roslyn 4.10.0
11 months ago
Siegfried Pammer
7b1f8a305c
Implemented support for string concatenation compound assignments involving ReadOnlySpan<char>.
11 months ago
Siegfried Pammer
1c71f6ad46
Support concatenation involving arguments of type ReadOnlySpan<char>.
11 months ago
Daniel Grunwald
1616d15572
Move roundtrip tests to their own namespace.
...
This makes it easier to run the fast non-roundtrip tests.
11 months ago
Siegfried Pammer
9548a11d37
Use ILSpyHelper_AsRefReadOnly to ensure that overload resolution can pick the correct overload using 'in'.
11 months ago
Siegfried Pammer
03a20f3494
Support ILInlining for in parameters
11 months ago
Siegfried Pammer
fd1de09489
Avoid using operator + for string concatenation when ref-like types are involved.
11 months ago
Siegfried Pammer
e6004e5f26
Handle ReferenceKind.RefReadOnly in a few more cases
11 months ago
Siegfried Pammer
28aa88bfb8
Make NullableLiftingTransform handle the case where ExpressionTransforms.VisitComp already lifted a nullable comparison with constant.
11 months ago
Siegfried Pammer
9d22e3ab41
NullableLiftingTransform: Undo new compiler optimization (omitting get_HasValue for comparisions with constants)
11 months ago
Siegfried Pammer
cf5f10067e
CallBuilder: Extract handling of interpolated string pattern into separate method.
11 months ago
Siegfried Pammer
fe879869c3
ExportAnalyzerAttribute: Simplify pattern matching and avoid multiple enumeration
11 months ago
Siegfried Pammer
427fbcd8c0
Fix general using statement pattern
11 months ago
Christoph Wille
d0bdf185d3
Merge pull request #3239 from icsharpcode/ilspyx-collect-analyzers
...
Allow to collect analyzers annotated with ExportAnalyzerAttribute without MEF
11 months ago
Siegfried Pammer
dab256ceb0
Update stackalloc initializer patterns for Roslyn 4.10.0.
11 months 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.
11 months ago
Siegfried Pammer
a5ed5ec5cb
Support types that provide DisposeAsync without implementing IAsyncDisposable.
11 months ago
Siegfried Pammer
783c934bfd
Transform RequiresLocationAttribute to 'ref readonly' on function pointers.
11 months ago
Siegfried Pammer
02d2a8c1f8
Add metadata processing for C# 12 'ref readonly' parameters
11 months ago
Siegfried Pammer
5d36732fcf
Remove ApplyPdbLocalTypeInfoTypeVisitor (merge it into ApplyAttributeTypeVisitor)
11 months ago
Siegfried Pammer
3b2affa13b
Add new language versions to DefineConstants in Decompiler.Tests
11 months ago