a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
280 B
C#
21 lines
280 B
C#
// CS0122: `Foo.Print(this string)' is inaccessible due to its protection level
|
|
// Line: 19
|
|
|
|
|
|
using System;
|
|
|
|
static class Foo
|
|
{
|
|
static void Print (this string s)
|
|
{
|
|
}
|
|
}
|
|
|
|
static class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
string s = "Hello, world";
|
|
Foo.Print(s);
|
|
}
|
|
} |