[asp.net] Optimize memory usage a bit. String hashes are cached in thread-local storage.
[mono.git] / mcs / tests / gtest-anon-63.cs
1 using System;
2
3 class A
4 {
5         public virtual void Foo<T> (T a, params string[] b) where T : struct
6         {
7         }
8 }
9
10 class B : A
11 {
12         public void Test (int v)
13         {
14                 Action a = () => base.Foo<int> (b: "n", a: v);
15                 a ();
16         }
17
18         public void Test2<T> (T b) where T : struct
19         {
20                 Action a2 = () => base.Foo<T> (b, "as", "asdfa");
21         }
22 }
23
24 class Test
25 {
26         public static void Main ()
27         {
28                 new B ().Test (1);
29         }
30 }