blob: e19f28f833e79c0618b6db7dbb0f6a9204c1ef8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// 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.
//=============================================================================
//
//
//
//
// Purpose: Define HResult constants. Every exception has one of these.
//
//
//===========================================================================*/
namespace System.IO {
using System;
// Only static data no need to serialize
internal static class __HResults
{
// These use an error code from WinError.h
public const int COR_E_ENDOFSTREAM = unchecked((int)0x80070026); // OS defined
public const int COR_E_FILELOAD = unchecked((int)0x80131621);
public const int COR_E_FILENOTFOUND = unchecked((int)0x80070002);
public const int COR_E_DIRECTORYNOTFOUND = unchecked((int)0x80070003);
public const int COR_E_PATHTOOLONG = unchecked((int)0x800700CE);
public const int COR_E_IO = unchecked((int)0x80131620);
}
}
|