From 1dcbb979a70208b9d3372c49d0b317cd66ff3b1d Mon Sep 17 00:00:00 2001 From: Rodrigo Kumpera Date: Sun, 7 Mar 2010 20:28:51 +0000 Subject: [PATCH] 2010-03-06 Rodrigo Kumpera * UIntPtr.cs: Remove some v4 custom attributes that were on Beta2 but aren't there on RC. svn path=/trunk/mcs/; revision=153223 --- mcs/class/corlib/System/ChangeLog | 5 +++++ mcs/class/corlib/System/UIntPtr.cs | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mcs/class/corlib/System/ChangeLog b/mcs/class/corlib/System/ChangeLog index 49b62c4d623..2e9b9aa0610 100644 --- a/mcs/class/corlib/System/ChangeLog +++ b/mcs/class/corlib/System/ChangeLog @@ -1,3 +1,8 @@ +2010-03-06 Rodrigo Kumpera + + * UIntPtr.cs: Remove some v4 custom attributes that were + on Beta2 but aren't there on RC. + 2010-03-05 Carlos Alberto Cortez * TimeSpan.cs: Implement correctly the TryParse method, instead of diff --git a/mcs/class/corlib/System/UIntPtr.cs b/mcs/class/corlib/System/UIntPtr.cs index 05831c2275c..a412044619c 100644 --- a/mcs/class/corlib/System/UIntPtr.cs +++ b/mcs/class/corlib/System/UIntPtr.cs @@ -163,25 +163,21 @@ namespace System } #if NET_4_0 - [ReliabilityContract (Consistency.MayCorruptInstance, Cer.MayFail)] public static UIntPtr Add (UIntPtr pointer, int offset) { return (UIntPtr) (unchecked (((byte *) pointer) + offset)); } - [ReliabilityContract (Consistency.MayCorruptInstance, Cer.MayFail)] public static UIntPtr Subtract (UIntPtr pointer, int offset) { return (UIntPtr) (unchecked (((byte *) pointer) - offset)); } - [ReliabilityContract (Consistency.MayCorruptInstance, Cer.MayFail)] public static UIntPtr operator + (UIntPtr pointer, int offset) { return (UIntPtr) (unchecked (((byte *) pointer) + offset)); } - [ReliabilityContract (Consistency.MayCorruptInstance, Cer.MayFail)] public static UIntPtr operator - (UIntPtr pointer, int offset) { return (UIntPtr) (unchecked (((byte *) pointer) - offset)); -- 2.11.4.GIT