[bcl] Update BCL Linked Size
[mono-project.git] / mcs / errors / cs0136-9.cs
blobce215b89a8f4517fdaf4674b42cb2c2d005282d2
1 // CS0136: A local variable named `t' cannot be declared in this scope because it would give a different meaning to `t', which is already used in a `child' scope to denote something else
2 // Line: 17
3 using System;
5 public delegate void Hello (Test test);
7 public class Test
9 public void Whatever ()
10 { }
12 static void Main ()
14 Hello hello = delegate (Test t) {
15 t.Whatever ();
17 Test t = new Test ();
18 hello (t);