Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/tests/gtest-anon-13.cs')
-rwxr-xr-xmcs/tests/gtest-anon-13.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/tests/gtest-anon-13.cs b/mcs/tests/gtest-anon-13.cs
new file mode 100755
index 00000000000..99d55bc821b
--- /dev/null
+++ b/mcs/tests/gtest-anon-13.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Runtime.InteropServices;
+using System.Collections.Generic;
+
+class X
+{
+ public delegate T ModuleBinder<T> (object o);
+
+ public ModuleBinder<TDelegate> CreateMethodUnscoped<TDelegate> ()
+ {
+ return delegate (object o) {
+ return (TDelegate)(object)null;
+ };
+ }
+
+ static void Main ()
+ { }
+}