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
w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git]
/
mcs
/
errors
/
cs0220-4.cs
blob
c52aa545220490894530bb3b57150d47b7ab9a52
1
// CS0220: The operation overflows at compile time in checked mode
2
// Line: 10
3
// Compiler options: -unsafe
4
5
class
TestClass
6
{
7
public unsafe static void
Main
()
8
{
9
int
*
arr
=
null
;
10
var
i
=
arr
[
long
.
MaxValue
];
11
}
12
}