diff options
Diffstat (limited to 'src/mscorlib/src/System/Runtime/InteropServices/CallingConvention.cs')
-rw-r--r-- | src/mscorlib/src/System/Runtime/InteropServices/CallingConvention.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Runtime/InteropServices/CallingConvention.cs b/src/mscorlib/src/System/Runtime/InteropServices/CallingConvention.cs new file mode 100644 index 0000000000..2fc5fcbf56 --- /dev/null +++ b/src/mscorlib/src/System/Runtime/InteropServices/CallingConvention.cs @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +//////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// +namespace System.Runtime.InteropServices { + + using System; + // Used for the CallingConvention named argument to the DllImport attribute + [Serializable] +[System.Runtime.InteropServices.ComVisible(true)] + public enum CallingConvention + { + Winapi = 1, + Cdecl = 2, + StdCall = 3, + ThisCall = 4, + FastCall = 5, + } + +} |