summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs')
-rw-r--r--src/mscorlib/src/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs34
1 files changed, 19 insertions, 15 deletions
diff --git a/src/mscorlib/src/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs b/src/mscorlib/src/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs
index 050772af2c..d541cf41b5 100644
--- a/src/mscorlib/src/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs
+++ b/src/mscorlib/src/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs
@@ -11,31 +11,35 @@
**
=============================================================================*/
-namespace System.Runtime.InteropServices {
- using System;
- using System.Runtime.Serialization;
+using System;
+using System.Runtime.Serialization;
+namespace System.Runtime.InteropServices
+{
[Serializable]
- public class SafeArrayTypeMismatchException : SystemException {
- public SafeArrayTypeMismatchException()
- : base(Environment.GetResourceString("Arg_SafeArrayTypeMismatchException")) {
+ public class SafeArrayTypeMismatchException : SystemException
+ {
+ public SafeArrayTypeMismatchException()
+ : base(Environment.GetResourceString("Arg_SafeArrayTypeMismatchException"))
+ {
SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH);
}
-
- public SafeArrayTypeMismatchException(String message)
- : base(message) {
+
+ public SafeArrayTypeMismatchException(String message)
+ : base(message)
+ {
SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH);
}
-
- public SafeArrayTypeMismatchException(String message, Exception inner)
- : base(message, inner) {
+
+ public SafeArrayTypeMismatchException(String message, Exception inner)
+ : base(message, inner)
+ {
SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH);
}
- protected SafeArrayTypeMismatchException(SerializationInfo info, StreamingContext context) : base(info, context) {
+ protected SafeArrayTypeMismatchException(SerializationInfo info, StreamingContext context) : base(info, context)
+ {
}
-
}
-
}