Siegfried Pammer
101aba3362
Validate uses of display-class variable copies before removing them
5 years ago
Siegfried Pammer
0fa04a5248
Fix build.
5 years ago
Siegfried Pammer
d4fd92bf0f
Fix initializer block detection of display structs.
5 years ago
Siegfried Pammer
1c7d9705da
Add Validation of delegate target instructions.
5 years ago
Siegfried Pammer
6042819117
Implement Block.CheckInvariant for BlockKind.ArrayInitializer, BlockKind.CollectionInitializer and BlockKind.ObjectInitializer
5 years ago
Siegfried Pammer
ab336cdc94
Fix build.
5 years ago
Siegfried Pammer
d457ef38f4
Make ValidateConstructor safe
5 years ago
Siegfried Pammer
f1cbc7c8db
Add AggressiveScalarReplacementOfAggregates option
5 years ago
Siegfried Pammer
53c593af0b
Fixed all TDCU related tests.
5 years ago
Siegfried Pammer
4f7ca65408
Fix #1913 : Make sure to declare local variables captured by local functions before the first invocation of the local function.
5 years ago
Siegfried Pammer
83e8049114
Add ILVariable.IsDead property
5 years ago
Siegfried Pammer
b6259b7dca
Fix #1981 : Ensure correctness of TDCU
5 years ago
Siegfried Pammer
0d1b6203df
#1981 : Refactor LocalFunctionDecompiler: Propagate closure parameter arguments, so that all arguments can be stripped from use-sites.
5 years ago
Siegfried Pammer
6382f8c41d
Fix #1990 : Empty default ctor with XML comment discarded from decompilation
5 years ago
Siegfried Pammer
35a9ac7e74
Fix #1992 : Analyzer fails to find usages of a type when it is used as a type argument
5 years ago
Christoph Wille
3b74675f5e
Merge pull request #1994 from icsharpcode/fix-1985
...
Fix #1985 : BamlDecompiler.Tests License Header Mess
5 years ago
Siegfried Pammer
b84bcdc3a5
Fix #1985 : BamlDecompiler.Tests License Header Mess
5 years ago
Daniel Grunwald
b7754cdf5c
Workaround dotnet/roslyn#43659 in decompiled code.
5 years ago
Daniel Grunwald
cd04e80f5e
Use IsKnownType() when checking for System.Object
5 years ago
Siegfried Pammer
c9991d0787
Fix build.
5 years ago
Siegfried Pammer
ab89581eab
Fix JumpToReference/ReferenceSegment tuple mess.
5 years ago
Siegfried Pammer
40687ea8ad
#1498 : Remove Fusion API usage: Use standard file enumeration instead. This should enable us to use the GAC even with restricted access, as only the LIST permission is required.
5 years ago
Siegfried Pammer
7571b59abf
Improve DotNetCorePathFinderExtensions.DetectTargetFrameworkId to properly detect framework version of GAC assemblies.
5 years ago
Siegfried Pammer
5a66770b2c
Merge pull request #1987 from cshung/dev/andrewau/visualize-debug-bounds
...
#1886 : Decorate the ready to run disassembly with DebugInfoBounds
5 years ago
Daniel Grunwald
9659be0d55
#1946 : Fix IsBranchToReturnBlock() [was broken in c1265ad830
]
5 years ago
Siegfried Pammer
cba402955c
Add suggested improvements
5 years ago
Siegfried Pammer
0dfcafdfe8
Add preconfigured assembly list selection and rename command to ManageAssemblyListsDialog
5 years ago
Siegfried Pammer
60e9c204cc
Fix #1940 : Make sure that we use the correct .NET Core version, when there are multiple frameworks loaded in the current assembly list.
5 years ago
Siegfried Pammer
b92a4b956c
#1940 : Ignore nullability in ETs
5 years ago
Siegfried Pammer
c676665a61
#1940 : Refactor TransformExpressionTrees to support rolling back all changes if the transform fails.
5 years ago
Daniel Grunwald
c1265ad830
Fix #1946 : Don't move `return` into `try` block when doing so changes the semantics of a `finally` block.
5 years ago
Daniel Grunwald
2665d800d0
Update test to Roslyn 3.6.0-3.final.
5 years ago
Daniel Grunwald
2da513eb24
Fix #1988 : handle Roslyn 3.6 task creation pattern in async/await decompiler.
...
Roslyn 3.6 no longer makes a redundant copy of the `AsyncTaskMethodBuilder`, but directly calls `stateMachine.<>t__builder.Start(ref stateMachine);`
5 years ago
Andrew Au
d92ca2ef79
Decorate the ready to run disassembly with DebugInfoBounds
5 years ago
Daniel Grunwald
5ad7ee0cea
Fix #1629 : Add support for `[module: NullablePublicOnly]`
...
If this attribute is in use, private/internal members lack nullability annotations.
Previously in such cases, we ended up inheriting the nullability from the `[NullableContext]`, which could cause us to display a misleading nullability for primary methods.
In debug builds, it could also trigger an assertion when trying to apply the "nullable reference type" marking to to value types.
Of note is that properties and events are a special case: they do not explicitly store Accessibility in metadata. For properties computing the accessibility requires decoding the signature (to find overridden base properties). So these two only check the declaring type's accessibility instead; private properties may still carry nullability despite `[NullablePublicOnly]`. However, the property accessors won't store nullability, so we need to read the `returnTypeAttributes` from the property itself.
5 years ago
Christoph Wille
ba1dee79b7
Remove MS-PL embedded resource from ILSpy.csproj
5 years ago
Christoph Wille
02da8a3cf1
Remove MS-PL from docs (was no longer applicable to any portions of ILSpy)
5 years ago
Christoph Wille
adc00d6f63
Merge pull request #1984 from icsharpcode/fix-license-mismatch
...
Fix remaining mismatched license headers
5 years ago
Siegfried Pammer
5a53bc0e38
Fix remaining mismatched license headers
5 years ago
Christoph Wille
26c196139e
Update frontends to 6.0.0.5671-preview3
5 years ago
Siegfried Pammer
f8242d85fd
ILSpy.AddIn: link to license.txt from doc folder.
5 years ago
Siegfried Pammer
a9e8d1e7ec
Remove unused BamlDecompiler/Extensions.cs
5 years ago
Siegfried Pammer
8925b4ff7b
Inline variable declarations/modernize parts of our code base.
5 years ago
Siegfried Pammer
9ebef78b51
#1952 : Apply suggestions and fixes from code review.
5 years ago
Siegfried Pammer
f316838873
Fix #1952 : Add a button to the Misc settings page that adds an "Open with ILSpy" entry to the Windows Explorer context menu on exe and dll files.
5 years ago
Siegfried Pammer
68c5ea63f9
Fix HideEmptyMetadataTables option in Metadata/DebugMetadataTreeNode.cs
5 years ago
Siegfried Pammer
cde00cba97
Set preview3
5 years ago
Siegfried Pammer
e2df79ef70
Fix #1975 : readonly modifier is added to structs even if language version is lower than C# 7.0
5 years ago
Siegfried Pammer
91e9573449
Fix #1976 : ProxyCallReplacer should honor selected language version/selected options
5 years ago
Siegfried Pammer
d09190533a
Fix #1980 : IndexOutOfRangeException when choose `IL with C#` with System.Runtime.CompilerServices.Unsafe.Copy/InitBlock
5 years ago