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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs1919.cs
blob
8eacf169a3517db53af70e92f3fe7a7e95dff7e1
1
// CS1919: Unsafe type `int*' cannot be used in an object creation expression
2
// Line: 12
3
// Compiler options: -unsafe
4
5
using
System
;
6
7
public class
Test
8
{
9
static void
Main
()
10
{
11
unsafe
{
12
object
o
=
new int
*();
13
}
14
}
15
}
16