diff --git a/src/mono/sample/wasm/browser/Program.cs b/src/mono/sample/wasm/browser/Program.cs index 11566f32c77a66..743f481896fcb5 100644 --- a/src/mono/sample/wasm/browser/Program.cs +++ b/src/mono/sample/wasm/browser/Program.cs @@ -3,63 +3,11 @@ using System; using System.Runtime.CompilerServices; -using System.Diagnostics; -using System.Collections.Generic; namespace Sample { public class Test { - [DebuggerDisplay ("Some {Val1} Value {Val2} End")] - class WithDisplayString - { - internal string Val1 = "one"; - - public int Val2 { get { return 2; } } - } - - class WithToString - { - public override string ToString () - { - return "SomeString"; - } - } - - [DebuggerDisplay ("{GetDebuggerDisplay(), nq}")] - class DebuggerDisplayMethodTest - { - int someInt = 32; - int someInt2 = 43; - - string GetDebuggerDisplay () - { - return "First Int:" + someInt + " Second Int:" + someInt2; - } - } - - [DebuggerTypeProxy(typeof(TheProxy))] - class WithProxy - { - public string Val1 { - get { return "one"; } - } - } - - class TheProxy - { - WithProxy wp; - - public TheProxy (WithProxy wp) - { - this.wp = wp; - } - - public string Val2 { - get { return wp.Val1; } - } - } - public static void Main(string[] args) { Console.WriteLine ("Hello, World!"); @@ -68,8 +16,6 @@ public static void Main(string[] args) [MethodImpl(MethodImplOptions.NoInlining)] public static int TestMeaning() { - List myList = new List{ 1, 2, 3, 4 }; - Console.WriteLine(myList); return 42; } }