repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In ilasm/tests:
[mcs.git]
/
errors
/
cs0057.cs
blob
3eadc7528597eefaccf26851b1ed4705e53542bb
1
// cs0057.cs: Inconsistent accessibility: parameter type `ErrorCS0057' is less accessible than operator `Foo.implicit operator Foo(ErrorCS0057)'
2
// Line: 11
3
4
using
System
;
5
6
class
ErrorCS0057
{
7
public
ErrorCS0057
();
8
}
9
10
public class
Foo
{
11
public static implicit operator
Foo
(
ErrorCS0057 bar
) {
12
return new
Foo
();
13
}
14
15
public static void
Main
() {
16
}
17
}
18