Method CreateStructType
CreateStructType(DIScope?, LazyEncodedString, DIFile?, uint, ulong, uint, DebugInfoFlags, DIType?, params DINode[])
Creates debug description of a structure type
public DICompositeType CreateStructType(DIScope? scope, LazyEncodedString name, DIFile? file, uint line, ulong bitSize, uint bitAlign, DebugInfoFlags debugFlags, DIType? derivedFrom, params DINode[] elements)
Parameters
scope
DIScopeScope containing the structure
name
LazyEncodedStringName of the type (use Empty for anonymous types)
file
DIFileFile containing the type
line
uintLine of the start of the type
bitSize
ulongSize of the type in bits
bitAlign
uintBit alignment of the type
debugFlags
DebugInfoFlagsDebugInfoFlags for the structure
derivedFrom
DITypeDIType this type is derived from, if any
elements
DINode[]Node array describing the elements of the structure
Returns
CreateStructType(DIScope?, LazyEncodedString, DIFile?, uint, ulong, uint, DebugInfoFlags, DIType?, IEnumerable<DINode>, uint, DIType?, LazyEncodedString?)
Creates debug description of a structure type
public DICompositeType CreateStructType(DIScope? scope, LazyEncodedString name, DIFile? file, uint line, ulong bitSize, uint bitAlign, DebugInfoFlags debugFlags, DIType? derivedFrom, IEnumerable<DINode> elements, uint runTimeLang = 0, DIType? vTableHolder = null, LazyEncodedString? uniqueId = null)
Parameters
scope
DIScopeScope containing the structure
name
LazyEncodedStringName of the type (use Empty for anonymous types)
file
DIFileFile containing the type
line
uintLine of the start of the type
bitSize
ulongSize of the type in bits
bitAlign
uintBit alignment of the type
debugFlags
DebugInfoFlagsDebugInfoFlags for the structure
derivedFrom
DITypeDIType this type is derived from, if any
elements
IEnumerable<DINode>Node array describing the elements of the structure
runTimeLang
uintruntime language for the type
vTableHolder
DITypeVTable holder for the type
uniqueId
LazyEncodedStringUnique ID for the type