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:
authorMarek Safar <marek.safar@gmail.com>2010-12-20 13:49:39 +0300
committerMarek Safar <marek.safar@gmail.com>2010-12-20 13:50:58 +0300
commite07dd12e9ff5eab7a323232922f160edfd5469b0 (patch)
tree3c2e0391a5ece61d0602d042848d3f8c446112dc /mcs/tests/gtest-423.cs
parentde4a87e2455c54befe837263d7032ec546fb327e (diff)
[660260] A static method is inaccessible from a nested type with explicit generic args
Diffstat (limited to 'mcs/tests/gtest-423.cs')
-rw-r--r--mcs/tests/gtest-423.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/mcs/tests/gtest-423.cs b/mcs/tests/gtest-423.cs
new file mode 100644
index 00000000000..c8e6ddc479d
--- /dev/null
+++ b/mcs/tests/gtest-423.cs
@@ -0,0 +1,32 @@
+using System;
+
+namespace MonoTest
+{
+ public class A<TA>
+ {
+ class B<TB>
+ {
+ static void foo ()
+ {
+ }
+
+ class C
+ {
+ static void bar ()
+ {
+ foo ();
+ B<C>.foo ();
+ A<C>.B<C>.foo ();
+ }
+ }
+ }
+ }
+
+ class Program
+ {
+ static void Main ()
+ {
+ }
+ }
+}
+