projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14f137c
)
Use the same default value of MarshalAs.IidParamIndex for both Windows and Unix ...
author
Jan Kotas
<jkotas@microsoft.com>
Wed, 28 Feb 2018 02:48:09 +0000
(18:48 -0800)
committer
GitHub
<noreply@github.com>
Wed, 28 Feb 2018 02:48:09 +0000
(18:48 -0800)
src/vm/managedmdimport.cpp
patch
|
blob
|
history
diff --git
a/src/vm/managedmdimport.cpp
b/src/vm/managedmdimport.cpp
index
0b8008a
..
e780275
100644
(file)
--- a/
src/vm/managedmdimport.cpp
+++ b/
src/vm/managedmdimport.cpp
@@
-68,7
+68,7
@@
FCIMPL11(void, MetaDataImport::GetMarshalAs,
*safeArrayUserDefinedSubType = info.m_strSafeArrayUserDefTypeName == NULL ? NULL :
StringObject::NewString(info.m_strSafeArrayUserDefTypeName, info.m_cSafeArrayUserDefTypeNameBytes);
#else
- *iidParamIndex =
-1
;
+ *iidParamIndex =
0
;
*safeArraySubType = VT_EMPTY;