Skip to content

Commit e30fd97

Browse files
authored
More clean up to debugger attribute tests (#112450)
I missed a few places with ``` [SetupLinkerKeepDebugMembers ("true")] ``` back when I landed #89011
1 parent 33160cc commit e30fd97

6 files changed

+0
-19
lines changed

src/tools/illink/test/Mono.Linker.Tests.Cases/Attributes.Debugger/KeepDebugMembers/DebuggerDisplayAttributeOnAssemblyUsingTarget.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
namespace Mono.Linker.Tests.Cases.Attributes.Debugger.KeepDebugMembers
1111
{
1212
[SetupLinkerTrimMode ("link")]
13-
#if !NET
14-
[SetupLinkerKeepDebugMembers ("true")]
15-
#endif
1613

1714
[KeptMemberInAssembly (PlatformAssemblies.CoreLib, typeof (DebuggerDisplayAttribute), ".ctor(System.String)")]
1815
[KeptMemberInAssembly (PlatformAssemblies.CoreLib, typeof (DebuggerDisplayAttribute), "set_Target(System.Type)")]

src/tools/illink/test/Mono.Linker.Tests.Cases/Attributes.Debugger/KeepDebugMembers/DebuggerDisplayAttributeOnAssemblyUsingTargetTypeNameInSameAssembly.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
namespace Mono.Linker.Tests.Cases.Attributes.Debugger.KeepDebugMembers
1010
{
1111
[SetupLinkerTrimMode ("link")]
12-
#if !NET
13-
[SetupLinkerKeepDebugMembers ("true")]
14-
#endif
1512

1613
[KeptMemberInAssembly (PlatformAssemblies.CoreLib, typeof (DebuggerDisplayAttribute), ".ctor(System.String)")]
1714
[KeptMemberInAssembly (PlatformAssemblies.CoreLib, typeof (DebuggerDisplayAttribute), "set_TargetTypeName(System.String)")]

src/tools/illink/test/Mono.Linker.Tests.Cases/Attributes.Debugger/KeepDebugMembers/DebuggerDisplayAttributeOnAssemblyUsingTargetTypeNameOfGenericTypeInOtherAssembly.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
namespace Mono.Linker.Tests.Cases.Attributes.Debugger.KeepDebugMembers
1111
{
1212
[SetupLinkerTrimMode ("link")]
13-
#if !NET
14-
[SetupLinkerKeepDebugMembers ("true")]
15-
#endif
1613
[SetupCompileBefore ("library.dll", new[] { "../Dependencies/DebuggerDisplayAttributeOnAssemblyUsingTargetTypeNameInOtherAssembly_Lib.cs" })]
1714

1815
[KeptMemberInAssembly (PlatformAssemblies.CoreLib, typeof (DebuggerDisplayAttribute), ".ctor(System.String)")]

src/tools/illink/test/Mono.Linker.Tests.Cases/Attributes.Debugger/KeepDebugMembers/DebuggerDisplayAttributeOnTypeThatIsNotUsed.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
namespace Mono.Linker.Tests.Cases.Attributes.Debugger.KeepDebugMembers
66
{
7-
#if !NET
8-
[SetupLinkerKeepDebugMembers ("true")]
9-
#endif
10-
117
public class DebuggerDisplayAttributeOnTypeThatIsNotUsed
128
{
139
public static void Main ()

src/tools/illink/test/Mono.Linker.Tests.Cases/Attributes.Debugger/KeepDebugMembers/DebuggerDisplayOnTypeWithCallToExtensionMethodOnFieldType.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77

88
namespace Mono.Linker.Tests.Cases.Attributes.Debugger.KeepDebugMembers
99
{
10-
#if !NET
11-
[SetupLinkerKeepDebugMembers ("true")]
12-
#endif
1310
public class DebuggerDisplayOnTypeWithCallToExtensionMethodOnFieldType
1411
{
1512
public static void Main ()

src/tools/illink/test/Mono.Linker.Tests.Cases/Attributes.Debugger/KeepDebugMembers/DebuggerDisplayOnTypeWithCallToMethodOnFieldType.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
namespace Mono.Linker.Tests.Cases.Attributes.Debugger.KeepDebugMembers
66
{
7-
#if !NET
8-
[SetupLinkerKeepDebugMembers ("true")]
9-
#endif
107
public class DebuggerDisplayOnTypeWithCallToMethodOnFieldType
118
{
129
public static void Main ()

0 commit comments

Comments
 (0)