diff options
Diffstat (limited to 'tests/src/Simple/SharedLibrary/NativeCallable.cs')
-rw-r--r-- | tests/src/Simple/SharedLibrary/NativeCallable.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/src/Simple/SharedLibrary/NativeCallable.cs b/tests/src/Simple/SharedLibrary/NativeCallable.cs new file mode 100644 index 000000000..4a080bfcf --- /dev/null +++ b/tests/src/Simple/SharedLibrary/NativeCallable.cs @@ -0,0 +1,14 @@ +// 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. + +namespace System.Runtime.InteropServices +{ + [AttributeUsage(AttributeTargets.Method)] + public sealed class NativeCallableAttribute : Attribute + { + public string EntryPoint; + public CallingConvention CallingConvention; + public NativeCallableAttribute() { } + } +}
\ No newline at end of file |