2010-06-17 Geoff Norton <gnorton@novell.com>
[mono.git] / mono / benchmark / contextbound-perf.cs
blob848ee52e57442c0e515a8f8588db8f5de9fafe6c
1 using System;
2 using System.Collections;
3 using System.Runtime.Remoting;
5 public class Bar : System.ContextBoundObject {
8 public class Driver {
9 public static void Main (string[] args) {
10 Bar b = new Bar();
12 for (int i = 0; i != 30000000; i++)
13 if (!b.Equals (b))
14 Console.WriteLine ("error!!");