projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mono-config] use right type for result of strlen
[mono.git]
/
mcs
/
class
/
corlib
/
System.IO
/
IntPtrStream.cs
diff --git
a/mcs/class/corlib/System.IO/IntPtrStream.cs
b/mcs/class/corlib/System.IO/IntPtrStream.cs
index 22958eec32b6e0c6b4169a230b1c1455cff593e6..40b1c580f6242647a72dcbccf64851951bba8b5a 100644
(file)
--- a/
mcs/class/corlib/System.IO/IntPtrStream.cs
+++ b/
mcs/class/corlib/System.IO/IntPtrStream.cs
@@
-57,6
+57,14
@@
namespace System.IO {
position = 0;
}
+ internal IntPtr BaseAddress {
+ get {
+ unsafe {
+ return new IntPtr ((void*) base_address);
+ }
+ }
+ }
+
public override bool CanRead {
get {
return true;