Method CreateUnionType
CreateUnionType(DIScope?, LazyEncodedString, DIFile?, uint, ulong, uint, DebugInfoFlags, DINodeArray)
Creates debug description of a union type
public DICompositeType CreateUnionType(DIScope? scope, LazyEncodedString name, DIFile? file, uint line, ulong bitSize, uint bitAlign, DebugInfoFlags debugFlags, DINodeArray elements)
Parameters
scope
DIScopeScope containing the union
name
LazyEncodedStringName of the type (use Empty for anonymous types)
file
DIFileFile containing the union
line
uintLine of the start of the union
bitSize
ulongSize of the union in bits
bitAlign
uintBit alignment of the union
debugFlags
DebugInfoFlagsDebugInfoFlags for the union
elements
DINodeArrayNode array describing the elements of the union
Returns
CreateUnionType(DIScope?, LazyEncodedString, DIFile?, uint, ulong, uint, DebugInfoFlags, params DINode[])
Creates debug description of a union type
public DICompositeType CreateUnionType(DIScope? scope, LazyEncodedString name, DIFile? file, uint line, ulong bitSize, uint bitAlign, DebugInfoFlags debugFlags, params DINode[] elements)
Parameters
scope
DIScopeScope containing the union
name
LazyEncodedStringName of the type (use Empty for anonymous types)
file
DIFileFile containing the union
line
uintLine of the start of the union
bitSize
ulongSize of the union in bits
bitAlign
uintBit alignment of the union
debugFlags
DebugInfoFlagsDebugInfoFlags for the union
elements
DINode[]Node array describing the elements of the union
Returns
CreateUnionType(DIScope?, LazyEncodedString, DIFile?, uint, ulong, uint, DebugInfoFlags, IEnumerable<DINode>, uint, LazyEncodedString?)
Creates debug description of a union type
public DICompositeType CreateUnionType(DIScope? scope, LazyEncodedString name, DIFile? file, uint line, ulong bitSize, uint bitAlign, DebugInfoFlags debugFlags, IEnumerable<DINode> elements, uint runTimeLang = 0, LazyEncodedString? uniqueId = null)
Parameters
scope
DIScopeScope containing the union
name
LazyEncodedStringName of the type (use Empty for anonymous types)
file
DIFileFile containing the union
line
uintLine of the start of the union
bitSize
ulongSize of the union in bits
bitAlign
uintBit alignment of the union
debugFlags
DebugInfoFlagsDebugInfoFlags for the union
elements
IEnumerable<DINode>Node array describing the elements of the union
runTimeLang
uintObjective-C runtime version [Default=0]
uniqueId
LazyEncodedStringA unique identifier for the type