GC _DecrementRefCount Method Fling OS
Underlying method that decrements the ref count of a GC managed object.

Namespace: Kernel
Assembly: Kernel (in Kernel.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

[NoDebugAttribute]
[NoGCAttribute]
public static void _DecrementRefCount(
	byte* objPtr
)

Parameters

objPtr
Type: System Byte*
A pointer to the object to decrement the ref count of.
Remarks

This method checks that the pointer is not a null pointer and also checks for the GC signature so string literals and the like don't accidentally get treated as normal GC managed strings.
See Also