Updates referencesource to .NET 4.7
[mono-project.git] / mcs / class / referencesource / mscorlib / system / security / verificationexception.cs
blob90fc2eb72d6c4728b6beaeece59e60b13bad671e
1 // ==++==
2 //
3 // Copyright (c) Microsoft Corporation. All rights reserved.
4 //
5 // ==--==
6 // <OWNER>Microsoft</OWNER>
7 //
9 namespace System.Security {
10 using System.Security;
11 using System;
12 using System.Runtime.Serialization;
14 [System.Runtime.InteropServices.ComVisible(true)]
15 [Serializable] public class VerificationException : SystemException {
16 public VerificationException()
17 : base(Environment.GetResourceString("Verification_Exception")) {
18 SetErrorCode(__HResults.COR_E_VERIFICATION);
21 public VerificationException(String message)
22 : base(message) {
23 SetErrorCode(__HResults.COR_E_VERIFICATION);
26 public VerificationException(String message, Exception innerException)
27 : base(message, innerException) {
28 SetErrorCode(__HResults.COR_E_VERIFICATION);
31 protected VerificationException(SerializationInfo info, StreamingContext context) : base(info, context) {