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
2010-04-15 Rodrigo Kumpera <rkumpera@novell.com>
[mono-project.git]
/
mcs
/
errors
/
cs0665-2.cs
blob
9c339c3070d8c48bdd1242e7b874146de781a217
1
// Cs0665: Assignment in conditional expression is always constant. Did you mean to use `==' instead ?
2
// Line: 10
3
// Compiler options: /warnaserror
4
5
class
Test
6
{
7
public bool
Foo
(
bool
x
)
8
{
9
bool
b
;
10
return
(
b
=
true
) ?
true
:
b
;
11
}
12
}
13