[asp.net] Optimize memory usage a bit. String hashes are cached in thread-local storage.
[mono.git] / mcs / tests / gtest-545.cs
1 using System;
2
3 public static class ApplicationContext
4 {
5         static bool Foo ()
6         {
7                 return false;
8         }
9                 
10         public static int Main ()
11         {
12                 bool? debugging = false;
13                 debugging = debugging | Foo ();
14                 
15                 bool res = debugging.Value;
16                 if (res)
17                         return 1;
18                 
19                 debugging = true;
20                 debugging = debugging & Foo ();
21                 if (res)
22                         return 2;
23                 
24                 return 0;
25         }
26 }