projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git]
/
mcs
/
errors
/
cs0122-30.cs
1
// CS0122: `MainClass.Nested.Delegate()' is inaccessible due to its protection level
2
// Line: 18
3
4
delegate int TestDelegate ();
5
6
public class MainClass
7
{
8
class Nested
9
{
10
static int Delegate ()
11
{
12
return 0;
13
}
14
}
15
16
public static void Main ()
17
{
18
TestDelegate delegateInstance = new TestDelegate (Nested.Delegate);
19
}
20
}
21