diff options
author | Jeremy Koritzinsky <jkoritzinsky@gmail.com> | 2018-10-10 10:04:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-10 10:04:48 -0700 |
commit | 737d0ea7c3e8a8ab42344f14b8338a0f7ffaf60d (patch) | |
tree | 7eb6f65883cc1452be769e4a4e2645918d0c0553 /src/vm/classnames.h | |
parent | 2d64c3fab5598a639d5f99083342553bcf01ff2b (diff) | |
download | coreclr-737d0ea7c3e8a8ab42344f14b8338a0f7ffaf60d.tar.gz coreclr-737d0ea7c3e8a8ab42344f14b8338a0f7ffaf60d.tar.bz2 coreclr-737d0ea7c3e8a8ab42344f14b8338a0f7ffaf60d.zip |
Throw an exception when we try to marshal a non-blittable fixed buffer. (#20263)
* Throw an exception when we try to marshal a non-blittable fixed buffer.
* Move function prototype into fieldmarshaler.cpp
Diffstat (limited to 'src/vm/classnames.h')
-rw-r--r-- | src/vm/classnames.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vm/classnames.h b/src/vm/classnames.h index 1c1c545451..f62f4a8e19 100644 --- a/src/vm/classnames.h +++ b/src/vm/classnames.h @@ -156,6 +156,7 @@ #define g_UnmanagedFunctionPointerAttribute "System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute" #define g_DefaultDllImportSearchPathsAttribute "System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute" #define g_NativeCallableAttribute "System.Runtime.InteropServices.NativeCallableAttribute" +#define g_FixedBufferAttribute "System.Runtime.CompilerServices.FixedBufferAttribute" #define g_CompilerServicesTypeDependencyAttribute "System.Runtime.CompilerServices.TypeDependencyAttribute" |