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 #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git]
/
mcs
/
errors
/
cs0578.cs
blob
f104a9a44fe4a5baa47fa91d850fe27e297ee8d3
1
// CS0578: Conditional not valid on `MainClass.Foo()' because its return type is not void
2
// Line: 10
3
4
class
MainClass
{
5
[
System
.
Diagnostics
.
Conditional
(
"DEBUG"
)]
bool
Foo
() {
6
return false
;
7
}
8
9
public static void
Main
() {}
10
}
11