linux-packaging-mono/mcs/tests/test-anon-153.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

30 lines
467 B
C#

using System;
using System.Collections.Generic;
namespace TestComp
{
class Program
{
internal class MyClass
{
public delegate void MyDelegate (out List<int> intToAdd);
private void MyTemplate (MyDelegate myData)
{
}
public void UseATemplate ()
{
MyTemplate (
delegate (out List<int> intToAdd) {
intToAdd = new List<int> ();
intToAdd.Add (0);
}
);
}
}
public static void Main (string[] args)
{
}
}
}