diff options
Diffstat (limited to 'src/mscorlib/src/System/IO/PathTooLongException.cs')
-rw-r--r-- | src/mscorlib/src/System/IO/PathTooLongException.cs | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/src/mscorlib/src/System/IO/PathTooLongException.cs b/src/mscorlib/src/System/IO/PathTooLongException.cs index a84fdfbb36..07ecb38db4 100644 --- a/src/mscorlib/src/System/IO/PathTooLongException.cs +++ b/src/mscorlib/src/System/IO/PathTooLongException.cs @@ -17,27 +17,31 @@ using System; using System.Runtime.Serialization; -namespace System.IO { - +namespace System.IO +{ [Serializable] public class PathTooLongException : IOException { - public PathTooLongException() - : base(Environment.GetResourceString("IO.PathTooLong")) { + public PathTooLongException() + : base(Environment.GetResourceString("IO.PathTooLong")) + { SetErrorCode(__HResults.COR_E_PATHTOOLONG); } - - public PathTooLongException(String message) - : base(message) { + + public PathTooLongException(String message) + : base(message) + { SetErrorCode(__HResults.COR_E_PATHTOOLONG); } - - public PathTooLongException(String message, Exception innerException) - : base(message, innerException) { + + public PathTooLongException(String message, Exception innerException) + : base(message, innerException) + { SetErrorCode(__HResults.COR_E_PATHTOOLONG); } - protected PathTooLongException(SerializationInfo info, StreamingContext context) : base (info, context) { + protected PathTooLongException(SerializationInfo info, StreamingContext context) : base(info, context) + { } } } |