ByValArray marshaling support is implemented in OleVariant.cpp (which actually implem...
authorYi Zhang (CLR) <yzha@microsoft.com>
Mon, 11 Apr 2016 06:59:35 +0000 (23:59 -0700)
committerYi Zhang (CLR) <yzha@microsoft.com>
Mon, 11 Apr 2016 17:20:04 +0000 (10:20 -0700)
Re-enable ByValArray test as well.

src/vm/olevariant.cpp
tests/testsFailingOutsideWindows.txt

index 8c133ac..ccf90a3 100644 (file)
@@ -995,8 +995,8 @@ VariantArray:
             ClearLPWSTRArray
         );
 
-#ifdef FEATURE_CLASSIC_COMINTEROP
     case VT_RECORD:
+#ifdef FEATURE_CLASSIC_COMINTEROP
         RETURN_MARSHALER(
             MarshalRecordVariantOleToCom,
             MarshalRecordVariantComToOle,
@@ -1005,7 +1005,14 @@ VariantArray:
             MarshalRecordArrayComToOle,
             ClearRecordArray
         );
-#endif
+#else
+        RETURN_MARSHALER(
+            NULL, NULL, NULL,
+            MarshalRecordArrayOleToCom,
+            MarshalRecordArrayComToOle,
+            ClearRecordArray
+        );
+#endif // FEATURE_CLASSIC_COMINTEROP
 
     case VT_CARRAY:
     case VT_USERDEFINED:
index e93fc3a..c0e8c40 100644 (file)
@@ -171,7 +171,6 @@ JIT/Regression/Dev11/External/dev11_145295/CSharpPart/CSharpPart.sh
 Interop/SimpleStruct/SimpleStruct/SimpleStruct.sh
 Interop/StructMarshalling/PInvoke/MarshalStructAsLayoutExp/MarshalStructAsLayoutExp.sh
 Interop/StructMarshalling/PInvoke/MarshalStructAsLayoutSeq/MarshalStructAsLayoutSeq.sh
-Interop/ArrayMarshalling/ByValArray/MarshalArrayByValTest/MarshalArrayByValTest.sh
 GC/LargeMemory/Allocation/finalizertest/finalizertest.sh
 GC/LargeMemory/API/gc/reregisterforfinalize/reregisterforfinalize.sh
 GC/LargeMemory/API/gc/collect/collect.sh