Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for C# 8 pattern matching #3049

Merged
merged 17 commits into from
Aug 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
f7343c7
Add support for simple recursive patterns where the sub pattern is a …
siegfriedpammer Aug 4, 2023
65b4c92
Add support for simple constant patterns.
siegfriedpammer Aug 4, 2023
3218a06
Add support for string constant patterns.
siegfriedpammer Aug 4, 2023
4e62fea
Fix pattern matching with fields and value types.
siegfriedpammer Aug 4, 2023
51a8eb2
Add support for var sub patterns.
siegfriedpammer Aug 4, 2023
e475af7
Support null check without type check in sub patterns.
siegfriedpammer Aug 4, 2023
8cb3a67
Support recursive pattern for value types
siegfriedpammer Aug 5, 2023
1cb4e77
Refactor sub pattern detection into loop to allow continuations of ou…
siegfriedpammer Aug 5, 2023
a93731a
Add support for nullable structs
siegfriedpammer Aug 5, 2023
cb62cac
Add support for nullable int const patterns
siegfriedpammer Aug 5, 2023
800067e
Pattern Matching: Ensure that we always return a non-null instruction…
siegfriedpammer Aug 5, 2023
8e63d92
Add null and not null patterns for nullable value types
siegfriedpammer Aug 5, 2023
688474f
Add missing DecompilerSettings for new language features
siegfriedpammer Aug 5, 2023
a0027e1
DefineConstants overrides defined constants in all projects; use prop…
christophwille Aug 5, 2023
e193b83
Move TransformDecimalCtorToConstant to EarlyExpressionTransforms
siegfriedpammer Aug 5, 2023
bf96482
Support decimal constants in pattern matching
siegfriedpammer Aug 5, 2023
97b6a2f
Add test case for empty string pattern
siegfriedpammer Aug 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-ilspy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
run: |
msbuild ILSpy.Installer.sln /t:Restore /p:Configuration="Release" /p:Platform="Any CPU"
msbuild ILSpy.Installer.sln /p:Configuration="Release" /p:Platform="Any CPU"
msbuild ILSpy.Installer.sln /p:Configuration="Release" /p:Platform="Any CPU" /p:DefineConstants="ARM64"
msbuild ILSpy.Installer.sln /p:Configuration="Release" /p:Platform="Any CPU" /p:PlatformForInstaller="ARM64"

- name: Build VS Extensions (for 2017-2019 and 2022)
if: matrix.configuration == 'release'
Expand Down
Loading