[runtime] Fix test_op_il_seq_point in amd64.
[mono.git] / mcs / class / corlib / System.IO / IntPtrStream.cs
index 22958eec32b6e0c6b4169a230b1c1455cff593e6..40b1c580f6242647a72dcbccf64851951bba8b5a 100644 (file)
@@ -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;