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 #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0023-7.cs
blob
3fa1ef6fe4b26a8d6f450a5bd399e83efd02c4dc
1
// CS0023: The `.' operator cannot be applied to operand of type `int*'
2
// Line: 8
3
// Compiler options: -unsafe
4
5
class
C
6
{
7
static unsafe int
*
Foo
()
8
{
9
return
(
int
*)
0
;
10
}
11
12
public static void
Main
()
13
{
14
unsafe
{
15
string
s
=
Foo
().
ToString
();
16
}
17
}
18
}