diff options
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/IO/DriveNotFoundException.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/IO/DriveNotFoundException.cs | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/System.Private.CoreLib/shared/System/IO/DriveNotFoundException.cs b/src/System.Private.CoreLib/shared/System/IO/DriveNotFoundException.cs deleted file mode 100644 index 3f2c88c74..000000000 --- a/src/System.Private.CoreLib/shared/System/IO/DriveNotFoundException.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System.Runtime.Serialization; - -namespace System.IO -{ - //Thrown when trying to access a drive that is not available. - [Serializable] - [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] - internal class DriveNotFoundException : IOException - { - public DriveNotFoundException() - : base(SR.Arg_DriveNotFoundException) - { - HResult = HResults.COR_E_DIRECTORYNOTFOUND; - } - - public DriveNotFoundException(string message) - : base(message) - { - HResult = HResults.COR_E_DIRECTORYNOTFOUND; - } - - public DriveNotFoundException(string message, Exception innerException) - : base(message, innerException) - { - HResult = HResults.COR_E_DIRECTORYNOTFOUND; - } - - protected DriveNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) - { - } - } -} |