GC _IncrementRefCount Method Fling OS
Underlying method that increments 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

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

Parameters

objPtr
Type: System Byte*
Pointer to the object to increment 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