Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / benchmark / contextbound-perf.cs
1 using System;
2 using System.Collections;
3 using System.Runtime.Remoting;
4
5 public class Bar : System.ContextBoundObject {
6 }
7
8 public class Driver {
9   public static void Main (string[] args) {
10         Bar b = new Bar();
11     
12         for (int i = 0; i != 30000000; i++)
13                 if (!b.Equals (b))
14                         Console.WriteLine ("error!!");
15   }
16 }
17