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
[2019-12] [threads] Add back mono_threads_attach_tools_thread as a public API (#18074)
[mono-project.git]
/
mono
/
tests
/
intptrcast.cs
blob
c69df851800ff246e6d7b103a2be48dcbaa1d425
1
using
System
;
2
3
public class
Test
{
4
5
public static int
Main
() {
6
IntPtr ip
= (
IntPtr
)
1
;
7
8
if
(
ip
.
ToString
() !=
"1"
)
9
return
1
;
10
11
return
0
;
12
}
13
}
14