X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Security%2FHostProtectionException.cs;h=8d828bc216e8d522ed755093880ce2cc2bf8af85;hb=7bb97fcd64db4502ea0010e157d12c94b5862aa9;hp=f74850bd64e972826a9a41e8031fc2ecc06e04ba;hpb=1fabd87b02f8d2e359150ed7a9e92613e60383bc;p=mono.git diff --git a/mcs/class/corlib/System.Security/HostProtectionException.cs b/mcs/class/corlib/System.Security/HostProtectionException.cs index f74850bd64e..8d828bc216e 100644 --- a/mcs/class/corlib/System.Security/HostProtectionException.cs +++ b/mcs/class/corlib/System.Security/HostProtectionException.cs @@ -26,7 +26,6 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if NET_2_0 using System.Runtime.InteropServices; using System.Runtime.Serialization; @@ -56,9 +55,11 @@ namespace System.Security { { } - public HostProtectionException (string message, HostProtectionResource protectedResources, HostProtectionResource demandedRessources) + public HostProtectionException (string message, HostProtectionResource protectedResources, HostProtectionResource demandedResources) : base (message) { + this._protected = protectedResources; + this._demanded = demandedResources; } protected HostProtectionException (SerializationInfo info, StreamingContext context) @@ -88,5 +89,3 @@ namespace System.Security { } } } - -#endif