repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0122-34.cs
blob
41a825c3bee5cb126e9247299abbaa2b26a1cc3f
1
// CS0122: `Foo.Print(this string)' is inaccessible due to its protection level
2
// Line: 19
3
4
5
using
System
;
6
7
static class
Foo
8
{
9
static void
Print
(
this string
s
)
10
{
11
}
12
}
13
14
static class
Program
15
{
16
static void
Main
(
string
[]
args
)
17
{
18
string
s
=
"Hello, world"
;
19
Foo
.
Print
(
s
);
20
}
21
}