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
for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git]
/
mcs
/
errors
/
cs0665.cs
blob
64018635beaa9e86bbc07351dc542be112f617a3
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 void
Foo
(
bool
x
)
8
{
9
bool
b
;
10
if
(
b
=
true
)
11
System
.
Console
.
WriteLine
(
b
);
12
}
13
}
14