Method CreateStructType
CreateStructType(DIScope?, LazyEncodedString, DIFile?, uint, ulong, uint, DebugInfoFlags, DIType?, params DINode[])
Creates debug description of a structure type
DICompositeType CreateStructType(DIScope? scope, LazyEncodedString name, DIFile? file, uint line, ulong bitSize, uint bitAlign, DebugInfoFlags debugFlags, DIType? derivedFrom, params DINode[] elements)
Parameters
scopeDIScopeScope containing the structure
nameLazyEncodedStringName of the type (use Empty for anonymous types)
fileDIFileFile containing the type
lineuintLine of the start of the type
bitSizeulongSize of the type in bits
bitAlignuintBit alignment of the type
debugFlagsDebugInfoFlagsDebugInfoFlags for the structure
derivedFromDITypeDIType this type is derived from, if any
elementsDINode[]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
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
scopeDIScopeScope containing the structure
nameLazyEncodedStringName of the type (use Empty for anonymous types)
fileDIFileFile containing the type
lineuintLine of the start of the type
bitSizeulongSize of the type in bits
bitAlignuintBit alignment of the type
debugFlagsDebugInfoFlagsDebugInfoFlags for the structure
derivedFromDITypeDIType this type is derived from, if any
elementsIEnumerable<DINode>Node array describing the elements of the structure
runTimeLanguintruntime language for the type
vTableHolderDITypeVTable holder for the type
uniqueIdLazyEncodedStringUnique ID for the type