X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Security%2FHostProtectionException.cs;h=8d828bc216e8d522ed755093880ce2cc2bf8af85;hb=7bb97fcd64db4502ea0010e157d12c94b5862aa9;hp=83929ea62212570601a670639d2cb7d48092e021;hpb=631b4a2a32558b17965794450513847e12d50872;p=mono.git diff --git a/mcs/class/corlib/System.Security/HostProtectionException.cs b/mcs/class/corlib/System.Security/HostProtectionException.cs index 83929ea6221..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; @@ -59,6 +58,8 @@ namespace System.Security { 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