Skip to content

Documentation Inconsistency: SuppressGCTransition Usage Scope #114524

Closed Answered by huoyaoyuan
Liangjia0411 asked this question in General
Discussion options

You must be logged in to vote

It's not SuppressGCTransitionAttribute used in function pointer. It's CallConvSuppressGCTransition. Function pointers can be marked with special types with CallConv prefix. They don't use attribute types, although the syntax is similar.

You can see it's definition by hovering in Visual Studio:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Liangjia0411
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants