diff options
author | Marek Safar <marek.safar@gmail.com> | 2022-04-07 15:53:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 15:53:27 +0300 |
commit | bacafd1df813b04c5f5758ba0d65b26ee423b150 (patch) | |
tree | 228e9aa2cb7f4cdb7e569b7f3231babe39237b7f /test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs | |
parent | e8b0ba08dcee4350cc76c8cd160140b0684020af (diff) |
Add constant propagation through methods with parameters or complex bodies (#2556)
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs index 95a435eea..f7929fcf2 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs @@ -30,8 +30,6 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock NeverReached_2 (); } - [Kept] - [ExpectBodyModified] static int TestProperty_int () { if (Prop > 5) { @@ -41,8 +39,6 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock return 0; } - [Kept] - [ExpectBodyModified] static int TestProperty_bool_twice () { if (PropBool) { @@ -55,17 +51,13 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock return 0; } - [Kept] static int Prop { - [Kept] get { return 9; } } - [Kept] static bool PropBool { - [Kept] get { return true; } |