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
Merge pull request #4202 from marek-safar/compression
[mono-project.git]
/
mcs
/
errors
/
cs0675.cs
blob
60cfb8584cff9ab284b55487213771c4f05c430a
1
// CS0675: The operator `|' used on the sign-extended type `int'. Consider casting to a smaller unsigned type first
2
// Line: 11
3
// Compiler options: -warnaserror -warn:3
4
5
public class
C
6
{
7
public static void
Main
()
8
{
9
int
x
=
1
;
10
int
y
=
1
;
11
long value
= (((
long
)
x
) <<
32
) |
y
;
12
}
13
}
14