projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* HttpWebRequestTest.cs: Remove usage of deprecated Assertion class.
[mono.git]
/
mcs
/
errors
/
cs0665-2.cs
1
// cs0665-2.cs : Assignment in conditional expression is always constant; did you mean to use == instead of = ?
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