Skip to content

Commit c674260

Browse files
authored
Reverting sample changes (#57738)
1 parent f169b71 commit c674260

File tree

1 file changed

+0
-54
lines changed

1 file changed

+0
-54
lines changed

src/mono/sample/wasm/browser/Program.cs

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -3,63 +3,11 @@
33

44
using System;
55
using System.Runtime.CompilerServices;
6-
using System.Diagnostics;
7-
using System.Collections.Generic;
86

97
namespace Sample
108
{
119
public class Test
1210
{
13-
[DebuggerDisplay ("Some {Val1} Value {Val2} End")]
14-
class WithDisplayString
15-
{
16-
internal string Val1 = "one";
17-
18-
public int Val2 { get { return 2; } }
19-
}
20-
21-
class WithToString
22-
{
23-
public override string ToString ()
24-
{
25-
return "SomeString";
26-
}
27-
}
28-
29-
[DebuggerDisplay ("{GetDebuggerDisplay(), nq}")]
30-
class DebuggerDisplayMethodTest
31-
{
32-
int someInt = 32;
33-
int someInt2 = 43;
34-
35-
string GetDebuggerDisplay ()
36-
{
37-
return "First Int:" + someInt + " Second Int:" + someInt2;
38-
}
39-
}
40-
41-
[DebuggerTypeProxy(typeof(TheProxy))]
42-
class WithProxy
43-
{
44-
public string Val1 {
45-
get { return "one"; }
46-
}
47-
}
48-
49-
class TheProxy
50-
{
51-
WithProxy wp;
52-
53-
public TheProxy (WithProxy wp)
54-
{
55-
this.wp = wp;
56-
}
57-
58-
public string Val2 {
59-
get { return wp.Val1; }
60-
}
61-
}
62-
6311
public static void Main(string[] args)
6412
{
6513
Console.WriteLine ("Hello, World!");
@@ -68,8 +16,6 @@ public static void Main(string[] args)
6816
[MethodImpl(MethodImplOptions.NoInlining)]
6917
public static int TestMeaning()
7018
{
71-
List<int> myList = new List<int>{ 1, 2, 3, 4 };
72-
Console.WriteLine(myList);
7319
return 42;
7420
}
7521
}

0 commit comments

Comments
 (0)