Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2022-04-07 15:53:27 +0300
committerGitHub <noreply@github.com>2022-04-07 15:53:27 +0300
commitbacafd1df813b04c5f5758ba0d65b26ee423b150 (patch)
tree228e9aa2cb7f4cdb7e569b7f3231babe39237b7f /test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs
parente8b0ba08dcee4350cc76c8cd160140b0684020af (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.cs8
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;
}