projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
svn path=/branches/mono-1-1-9/mono/; revision=51217
[mono.git]
/
mcs
/
errors
/
cs0665.cs
1
// cs0665.cs : Assignment in conditional expression is always constant; did you mean to use == instead of = ?
2
// Compiler options: /warnaserror
3
// Line: 9
4
class Test
5
{
6
public void Foo (bool x)
7
{
8
bool b;
9
if (b = true)
10
System.Console.WriteLine (b);
11
}
12
}
13