repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In ilasm/tests:
[mcs.git]
/
errors
/
cs0244.cs
blob
8dc4a7b1fb6cc5c9100b3175de31ccab43e0f3b5
1
// cs0244.cs: "is" or "as" are not valid on pointer types
2
// Line: 7
3
// Compiler options: -unsafe
4
5
class
UnsafeClass
{
6
unsafe
UnsafeClass
(
int
*
pointer
) {
7
if
(
pointer
is string
) {}
8
}
9
}
10
11