Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0176-7.cs
blob6d78ac4ec78d96eda4b530f50c3ecb7e4fcdee3a
1 // CS0176: Static member `A.Foo()' cannot be accessed with an instance reference, qualify it with a type name instead
2 // Line: 21
4 public class A
6 public static void Foo ()
11 public class Test
13 static A Prop
15 get {
16 return null;
20 public static void Main ()
22 Test.Prop.Foo ();