summaryrefslogtreecommitdiff
path: root/src/vm/comcallablewrapper.h
AgeCommit message (Collapse)AuthorFilesLines
2019-05-29Remove all uses of CanRunManagedCode() (#24847)Aaron Robinson1-4/+1
* Remove all uses of CanRunManagedCode()
2019-04-19Block usage of default interfaces feature in COM scenarios (#23970)Aaron Robinson1-48/+11
* Block default interface usage in COM scenarios Add additional test cases and move some CCW functions to a more consolidated layout.
2019-04-09Alter CCW wrapping semantics (#23709)Aaron Robinson1-55/+23
* Update CCW semantics to not unwrap when a managed COM server was activated from a managed COM client. This is a functional change from .NET Framework. * Add support for CoreShim to "attach" to the existing CLR instance when running from a CoreRun scenario. * Add testing for NET COM client activating a NET COM server
2019-04-03Remove ADID and ADIndex from CoreCLR (#23588)David Wrighton1-32/+0
- Remove concept of AppDomain from object api in VM - Various infrastructure around entering/leaving appdomains is removed - Add small implementation of GetAppDomain for use by DAC (to match existing behavior) - Simplify finalizer thread operations - Eliminate AppDomain::Terminate - Remove use of ADID from stresslog - Remove thread enter/leave tracking from AppDomain - Remove unused asm constants across all architectures - Re-order header inclusion order to put gcenv.h before handletable - Remove retail only sync block code involving appdomain index
2019-03-07Update error message for when a parent is marked as COMVisible(false) (#23092)Aaron Robinson1-1/+2
* Update message to include type and parent type marked as COMVisible(false)
2019-01-23Remove all traces of FEATURE_STACK_PROBE. (#22149)Filip Navara1-14/+0
2018-12-10Delete vm/context.* (#21459)Jan Kotas1-53/+1
* Delete vm/context.* Leftover from remoting
2018-12-03Refactor all FCalls out of AppDomain.cs (#21337)Jan Kotas1-2/+0
This saves the unmanaged->managed->unmanaged trip to initialize the assembly binder. Includes small bits of unrelated cleanup.
2018-12-01Enable COM interop for collectible classes (#20919)Jan Vorlicek1-43/+6
* Enable COM interop for collectible classes * Modify DispatchInfo to use LoaderAllocator handles The DispatchMemberInfo was using global handles to refer to the managed MemberInfo instances. That doesn't work with unloadability. This change modifies it to use handles allocated from LoaderAllocator. * Disable COM interop for WinRT types * Remove collectible check from IsTypeVisibleFromCom. That fixes three new COM interop tests * Add collectible check to GetComClassFactory when we check for unsupported interop with WinRT * Add COM unloadability tests Add two tests to test COM unloadability: * One for using native COM server from managed COM client * One for using managed COM objects from native client * Add unloading test for IUnknownTest * Disable NETClientPrimitivesInALC on Win ARM The NETClientPrimitives is disabled there too.
2018-11-21Delete dead/unused code (#21138)Jan Kotas1-104/+5
2018-07-20Minor interop code changes (#19005)Aaron Robinson1-22/+27
* Remove SpecialIsGenericTypeVisibleFromCom() from header file * Clean up if check resulting from remoting code removal
2018-06-09Avoid NativeOverlapped pinning by allocating unmanaged memory for it (#18360)Jan Kotas1-40/+4
It makes PinnableBufferCache unnecessary
2017-08-07Cleanup code access security from the unmanaged runtime (#13241)Jan Kotas1-7/+1
2017-06-23[Local GC] Remove a number of inclusions of handle table private headers ↵Sean Gillespie1-1/+0
from the VM (#12389) * Remove inclusions of private handle table headers from the VM * Add TraceRefCountedHandles to the GC handle table interface * Fix the Unix build * Move ValidatePinnedObject to marshalnative.h
2017-05-17Finish deleting dead CAS code from CoreLib (#11436)Jan Kotas1-9/+1
Fixes #9321 and deletes CleanupToDoList.cs Delete unmanaged security implementation
2017-03-05Remove hosting methods that always return false (#9930)Austin Wise1-7/+0
* Remove CLRIoCompletionHosted as it always returns false. * Remove CLRSyncHosted as it always returns false. * Remove CLRMemoryHosted as it always returns false. * Remove CLRTaskHosted as it always returns false. * Remove CLRAssemblyHosted, CLRGCHosted,and CLRSecurityHosted. They are not called. * Remove IsThreadPoolHosted as it always returns false. * Remove EnterRuntime and LeaveRuntime, as they do nothing. * Add back calls to RevertIfImpersonated and GCX_PREEMP. I accidentally deleted the call to RevertIfImpersonated instead of just removing an extra parameter. When I removed the HR_LEAVE_RUNTIME_HOLDER macro from windowsruntime.h, I not only removed a LeaveRuntimeHolder but also a GCX_PREEMP. So I added it back. The holder and GCX_PREEMP where only inserted when the FEATURE_LEAVE_RUNTIME_HOLDER macro was defined. Since it is always defined, I removed it. Also as I understand it, you would always want to have a GCX_PREEMP before calling into the Windows API as not to block the GC, so I'm not sure why you would want to disable it.
2016-01-27Update license headersdotnet-bot1-4/+3
2015-09-09Clarify commentsergey-raevskiy1-1/+1
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+2690
[tfs-changeset: 1407945]