diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/Attributes.Debugger/DebuggerDisplayAttributeOnTypeThatIsNotUsed.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/Attributes.Debugger/DebuggerDisplayAttributeOnTypeThatIsNotUsed.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/Attributes.Debugger/DebuggerDisplayAttributeOnTypeThatIsNotUsed.cs b/test/Mono.Linker.Tests.Cases/Attributes.Debugger/DebuggerDisplayAttributeOnTypeThatIsNotUsed.cs new file mode 100644 index 000000000..894d5adbb --- /dev/null +++ b/test/Mono.Linker.Tests.Cases/Attributes.Debugger/DebuggerDisplayAttributeOnTypeThatIsNotUsed.cs @@ -0,0 +1,21 @@ +using System.Diagnostics; +using Mono.Linker.Tests.Cases.Expectations.Assertions; +using Mono.Linker.Tests.Cases.Expectations.Metadata; + +namespace Mono.Linker.Tests.Cases.Attributes.Debugger { + [SetupLinkerCoreAction ("link")] + [SetupLinkerKeepDebugMembers ("false")] + + // Can be removed once this bug is fixed https://bugzilla.xamarin.com/show_bug.cgi?id=58168 + [SkipPeVerify (SkipPeVerifyForToolchian.Pedump)] + public class DebuggerDisplayAttributeOnTypeThatIsNotUsed { + public static void Main () + { + } + + [DebuggerDisplay ("{Property}")] + class Foo { + public int Property { get; set; } + } + } +}
\ No newline at end of file |