.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DualFroz
d5ff770959
Recognize a VB exception filter's type test
...
vbc builds an exception filter as a single non-short-circuiting
expression: `isinst`, then the user's `when` conditions, combined with
`and`. DetectCatchWhenConditionBlocks only knew the branch chain csc
emits, so the type test stayed inside the filter and the handler kept the
`object` variable it has in IL:
catch (object obj) when ((obj is Exception) & (num2 != 0) & (num == 0))
{
ProjectData.SetProjectError((Exception)obj);
A catch type has to derive from Exception, so that does not compile.
The conjunction form is matched too now, lifting the test to the catch
type as the block form already does. The other conjuncts stop running for
a non-matching exception once the test moves, so the filter has to be
pure for this to be invisible; PropagateExceptionVariable then drops the
castclass in the handler:
catch (Exception ex) when ((num2 != 0) & (num == 0))
{
ProjectData.SetProjectError(ex);
Closes #3659
17 hours ago
..
Documentation
.NET version information extracted from Tester
1 week ago
Helpers
Merge pull request #4124 from icsharpcode/fix/2823-async-catch-handler
1 week ago
Instrumentation
Report deduplicated reference count, deflake EventSource schema tests
2 months ago
Metadata
Bound WebCilFile section access against mapped-view length
2 months ago
Output
Fix #749 : toggle a member's fold together with its documentation
2 months ago
PatternMatching
Port the pattern matcher to list-indexed slot children
3 months ago
ProjectDecompiler
Write item metadata the way a non-SDK project keeps it
2 weeks ago
Properties
Add license headers to source files that lacked them
2 months ago
Semantics
MergeSimilarTypes: add support for more kinds of types
2 weeks ago
Syntax
Fix #3845 : Add option to expand XML documentation comments
2 months ago
TestCases
Recognize a VB exception filter's type test
17 hours ago
TypeSystem
Read the file system once per reference closure, not per reference
2 weeks ago
Util
Bound every .resources length against the remaining stream before allocating
3 weeks ago
.editorconfig
Migrate from .ruleset to .editorconfig
9 months ago
CLAUDE.md
Cover more constructs in the PDB sequence-point tests
3 months ago
CorrectnessTestRunner.cs
Emit params and default values on lambda parameter lists
2 weeks ago
DataFlowTest.cs
dev: Strip BOM mark from text files
1 year ago
DebugStepRecordingTests.cs
Walk the step tree with the helper the repo already has
3 weeks ago
DecompilationErrorRecoveryTests.cs
Fix #2040 : escape BAML strings that XML cannot represent
2 weeks ago
DecompilerSettingsTests.cs
Pin the GetMinimumRequiredVersion contract with a settings test
1 month ago
DisassemblerPrettyTestRunner.cs
Show the hexadecimal form of negative ldc.i4/ldc.i8 operands
1 month ago
ICSharpCode.Decompiler.Tests.csproj
Recognize a VB exception filter's type test
17 hours ago
ILPrettyTestRunner.cs
Expand nested conditional operators back into if-else
2 weeks ago
IsolatedMethodDecompilationTests.cs
Fix #3938 : nested-type members must not inherit ExtensionInfo
2 months ago
LightJsonParserTests.cs
Cap LightJson parser nesting depth to prevent stack overflow
3 weeks ago
PdbGenerationTestRunner.cs
Fix #2823 : write the async catch handler offset the way consumers read it
1 week ago
PrettyTestRunner.cs
Emit params and default values on lambda parameter lists
2 weeks ago
ResolutionSnapshotTests.cs
Read the file system once per reference closure, not per reference
2 weeks ago
RoundtripAssembly.cs
Fix #3510 : keep exporting a project when a member cannot be decompiled
1 month ago
SingleFileBundleTests.cs
Share the bundle signature with the tests instead of copying it
3 weeks ago
TestAssemblyResolver.cs
Add license headers to source files that lacked them
2 months ago
TestTraceListener.cs
dev: Strip BOM mark from text files
1 year ago
UglyTestRunner.cs
Decide backing-field references by one verdict, not three
2 weeks ago
UniversalAssemblyResolverTests.cs
Fix #2080 : resolve GAC references onto the installed version
2 weeks ago
VBPrettyTestRunner.cs
Recognize a VB exception filter's type test
17 hours ago
XamarinCompressedFileLoaderTests.cs
Bound XamarinCompressedFileLoader against crafted XALZ headers
2 months ago
packages.lock.json
NuGet September 2026 Updates including .NET 11 RC1 with nearest Roslyn
1 week ago