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
avoid using a custom sources file for the net_2_1_raw profile
[mcs.git]
/
errors
/
cs0665.cs
blob
6b42211b8411a469d1e33af600d5f7ade2cc7f43
1
// cs0665.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 void
Foo
(
bool
x
)
8
{
9
bool
b
;
10
if
(
b
=
true
)
11
System
.
Console
.
WriteLine
(
b
);
12
}
13
}
14