summaryrefslogtreecommitdiff
path: root/src/vm/qcall.cpp
diff options
context:
space:
mode:
authorSteve MacLean <stmaclea@microsoft.com>2019-04-11 00:20:39 -0400
committerGitHub <noreply@github.com>2019-04-11 00:20:39 -0400
commit206f9680303134731862a35338618f2cbd225651 (patch)
tree19100fe89a23239d36c6ddd2669f110d58a88aaa /src/vm/qcall.cpp
parentcb22707acb620e93a30254ded3048912a9ccb26f (diff)
downloadcoreclr-206f9680303134731862a35338618f2cbd225651.tar.gz
coreclr-206f9680303134731862a35338618f2cbd225651.tar.bz2
coreclr-206f9680303134731862a35338618f2cbd225651.zip
Contextual reflection (#23740)
* Add ContextualReflection APIs Add ContextualReflection APIs approved in dotnet/corefx#36236 Fix issue #22213 * SetParentAssembly even when IsCollectible() * ContextualReflection tests * PR Feedback * Add more usage tests Add using statement tests Add bad usage tests including Assert.Throws<> * Only initialize on set * Add XML API comments * Unify VerifyIsolation * Fix unused expectedAssembly * Remove ContextualReflectionScope throw * Clean up TestResolveMissingAssembly et. al * Remove unused QCall::AppDomainHandle * Remove AppDomainBaseObject * Pass AssemblyLoadContext as managed object to native * Fix AssemblyLoadContextBaseObject packing * AssemblyLoadContext backing stores Use explicit backing stores for events and properties * Remove StaticAsyncLocalCurrentContextualReflectionContext * Remove PermissionSetObject
Diffstat (limited to 'src/vm/qcall.cpp')
-rw-r--r--src/vm/qcall.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/vm/qcall.cpp b/src/vm/qcall.cpp
index 3b35f9089f..1b7bbda3b7 100644
--- a/src/vm/qcall.cpp
+++ b/src/vm/qcall.cpp
@@ -76,25 +76,3 @@ void QCall::ObjectHandleOnStack::SetGuidArray(const GUID * p, COUNT_T length)
memcpyNoGCRefs(arr->GetDataPtr(), p, length * sizeof(GUID));
Set(arr);
}
-
-//
-// Helpers for passing an AppDomain to a QCall
-//
-
-#ifdef _DEBUG
-
-//---------------------------------------------------------------------------------------
-//
-// Verify that the AppDomain being passed from the BCL is valid for use in a QCall. Note: some additional
-// checks are in System.AppDomain.GetNativeHandle()
-//
-
-void QCall::AppDomainHandle::VerifyDomainHandle() const
-{
- LIMITED_METHOD_CONTRACT;
-
- // System.AppDomain.GetNativeHandle() should ensure that we're not calling through with a null AppDomain pointer.
- _ASSERTE(m_pAppDomain);
-}
-
-#endif // _DEBUG