diff options
author | Luqun Lou <luqunl@microsoft.com> | 2017-05-17 03:23:23 +0300 |
---|---|---|
committer | Luqun Lou <luqunl@microsoft.com> | 2017-05-17 03:23:23 +0300 |
commit | cd63ba309efacef6cc30116e84e1b120e029cf5e (patch) | |
tree | ed9a7d9b04b386540da49df8ba5a9e90fbe80385 /src | |
parent | fc05767f8bba75589cf900880f66fa015cb601d1 (diff) |
RoParseTypeName PInvoke
My previous checking in breaks projectx scenario, since I added one pinvoke RoParseTypeName whose function doesn't exists in current testilc lib folder.
if a pinvoke with [McgGeneratedNativeCallCodeAttribute] , mcg will just skip this pinvoke
if a pinvoke without [McgGeneratedNativeCallCodeAttribute], it will do runtime loading if you enable loadlibrary on runtime
[tfs-changeset: 1658653]
Diffstat (limited to 'src')
-rw-r--r-- | src/System.Private.Interop/src/Interop/Interop.WinRT.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/System.Private.Interop/src/Interop/Interop.WinRT.cs b/src/System.Private.Interop/src/Interop/Interop.WinRT.cs index 8efc3a500..3545b0a19 100644 --- a/src/System.Private.Interop/src/Interop/Interop.WinRT.cs +++ b/src/System.Private.Interop/src/Interop/Interop.WinRT.cs @@ -70,7 +70,6 @@ namespace System.Runtime.InteropServices internal static extern int RoReportUnhandledError(IntPtr pRestrictedErrorInfo); [DllImport(Libraries.CORE_WINRT_TYPERESOLUTION, PreserveSig = true)] - [McgGeneratedNativeCallCodeAttribute] internal static unsafe extern int RoParseTypeName( HSTRING typename, uint * typenamePartsLength, |