| 1 | // Licensed to the .NET Foundation under one or more agreements. |
| 2 | // The .NET Foundation licenses this file to you under the MIT license. |
| 3 | // See the LICENSE file in the project root for more information. |
| 4 | |
| 5 | #include "common.h" |
| 6 | #include "gcenv.h" |
| 7 | #include "gcenv.ee.h" |
| 8 | #include "threadsuspend.h" |
| 9 | #include "nativeoverlapped.h" |
| 10 | |
| 11 | #ifdef FEATURE_COMINTEROP |
| 12 | #include "runtimecallablewrapper.h" |
| 13 | #include "rcwwalker.h" |
| 14 | #include "comcallablewrapper.h" |
| 15 | #endif // FEATURE_COMINTEROP |
| 16 | |
| 17 | #include "gctoclreventsink.h" |
| 18 | |
| 19 | // the method table for the WeakReference class |
| 20 | extern MethodTable* pWeakReferenceMT; |
| 21 | |
| 22 | // The canonical method table for WeakReference<T> |
| 23 | extern MethodTable* pWeakReferenceOfTCanonMT; |
| 24 | |
| 25 | // Finalizes a weak reference directly. |
| 26 | extern void FinalizeWeakReference(Object* obj); |
| 27 | |
| 28 | namespace standalone |
| 29 | { |
| 30 | |
| 31 | #include "gcenv.ee.cpp" |
| 32 | |
| 33 | } // namespace standalone |
| 34 | |