2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs0122.cs
blob41a825c3bee5cb126e9247299abbaa2b26a1cc3f
1 // CS0122: `Foo.Print(this string)' is inaccessible due to its protection level
2 // Line: 19
5 using System;
7 static class Foo
9 static void Print (this string s)
14 static class Program
16 static void Main(string[] args)
18 string s = "Hello, world";
19 Foo.Print(s);