You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add docs for that enumeration value in the .NET debugging APIs.
- Also updates the CorReferenceFinalizer value. 80000002 in decimal is the correct value in the shipping code. Probably some earlier developer intended it to be hexadecimal in the product but made a mistake. Since it has already shipped it won't be changed.
Fixesdotnet/diagnostics#4171
Copy file name to clipboardExpand all lines: docs/framework/unmanaged-api/debugging/corgcreferencetype-enumeration.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,10 @@ typedef enum {
32
32
CorHandleStrongDependent = 64,
33
33
CorHandleStrongAsyncPinned = 128,
34
34
CorHandleStrongSizedByref = 256,
35
+
CorHandleWeakWinRT = 512,
35
36
36
37
CorReferenceStack = 0x80000001,
37
-
CorReferenceFinalizer = 0x80000002,
38
+
CorReferenceFinalizer = 80000002, // Note the constant is decimal, not hexadecimal
38
39
39
40
CorHandleStrongOnly = 0x1E3,
40
41
CorHandleWeakOnly = 0xC,
@@ -54,6 +55,7 @@ typedef enum {
54
55
|`CorHandleStrongDependent`|A handle to a dependent object from the object handle table.|
55
56
|`CorHandleStrongAsyncPinned`|An asynchronous pinned object from the object handle table.|
56
57
|`CorHandleStrongSizedByref`|A strong handle that keeps an approximate size of the collective closure of all objects and object roots at garbage collection time.|
58
+
|`CorHandleWeakWinRT`|A weak handle to a RCW (Runtime Callable Wrapper). An RCW is a managed object that proxies calls to an underlying COM object.|
57
59
|`CorReferenceStack`|A reference from the managed stack.|
58
60
|`CorReferenceFinalizer`|A reference from the finalizer queue.|
59
61
|CorHandleStrongOnly|Return only strong references from the handle table. This value is used by the [ICorDebugProcess5::EnumerateHandles](icordebugprocess5-enumeratehandles-method.md) method only.|
0 commit comments