Yi Zhang
Yi Zhang
**Version Used**: Visual Studio 2015 Update 2 **Steps to Reproduce**: 1. Create a new C# console desktop project 2. Paste the following code: ` class Test { public extern event...
**Version**: VS 2015 Update 3 **Steps to Reproduce**: 1. Create a ATL COM library: ``` import "oaidl.idl"; import "ocidl.idl"; [ uuid(E9832E6C-053B-4E7B-9F94-624964D2177B), version(1.0), ] library FooLib { importlib("stdole2.tlb"); [uuid(823F7C79-0238-4830-A7F2-8610ED1B3550), version(1.0)] typedef...
**Version Used**: VS 2017. C# 2.0.0.61501 **Steps to Reproduce**: 1. Add following code ```csharp struct Foo { [MarshalAs(UnmanagedType.ByValArray)] int[] array; } ``` **Expected Behavior**: Warning that SizeConst is missing. C#...
There isn't any value in supporting them in coreclr and I'm not aware of developers out there using those overloads. We should remove them from coreclr.
This is found by the MarshalStructAsLayoutSeq test.
We should remove S.R.InteropServices.PInvoke contract since it is no longer aligned with our direction for .NET Core APIs.
Simply run Interop\ICastable\Castable test under x86 RyuJIT using the .cmd file after setting CORE_ROOT - this is what I'm getting: ``` Assert failure(PID 22548 [0x00005814], Thread: 7668 [0x1df4]): Consistency check...
From @schellap review comments: > This seems broken before your change -- searchAssemblyDirectory is by default set to true, so the copy next to the assembly will always be picked...
CoreCLR doesn't support managed COM activation today - it does not have a DllGetClassObject implementation. We can either enable it, or write a special shim that launches CoreCLR and returns...