BlockFlags BlockFlags Enum

Definition

Flags for the BlockLiteral.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[System.Flags]
public enum BlockFlags
type BlockFlags = 
Inheritance
BlockFlagsBlockFlags
Attributes

Fields

BLOCK_HAS_COPY_DISPOSE BLOCK_HAS_COPY_DISPOSE 33554432

Objective-C Block ABI Flags

BLOCK_HAS_CTOR BLOCK_HAS_CTOR 67108864

Objective-C Block ABI Flags

BLOCK_HAS_DESCRIPTOR BLOCK_HAS_DESCRIPTOR 536870912

Whether the block_descriptor is filled in.

BLOCK_HAS_SIGNATURE BLOCK_HAS_SIGNATURE 1073741824

Objective-C Block ABI Flags

BLOCK_HAS_STRET BLOCK_HAS_STRET 536870912

Objective-C Block ABI Flags.

BLOCK_IS_GC BLOCK_IS_GC 134217728

Objective-C Block ABI Flags.

BLOCK_IS_GLOBAL BLOCK_IS_GLOBAL 268435456

Objective-C Block ABI Flags.

BLOCK_NEEDS_FREE BLOCK_NEEDS_FREE 16777216

Objective-C Block ABI Flags.

BLOCK_REFCOUNT_MASK BLOCK_REFCOUNT_MASK 65535

Objective-C Block ABI Flags.

Remarks

Xamarin.iOS as of version 12.0 only uses the flags BlockFlags.BLOCK_HAS_COPY_DISPOSE | BlockFlags.BLOCK_HAS_SIGNATURE for its blocks.

See Block ABI for more detailed information about the Block ABI.

Applies to