Method CreateEnumerationType
CreateEnumerationType(DIScope?, LazyEncodedString, DIFile?, uint, ulong, uint, IEnumerable<DIEnumerator>, DIType?)
Creates an enumeration type
public DICompositeType CreateEnumerationType(DIScope? scope, LazyEncodedString name, DIFile? file, uint lineNumber, ulong sizeInBits, uint alignInBits, IEnumerable<DIEnumerator> elements, DIType? underlyingType)
Parameters
scope
DIScopeContaining scope for the type
name
LazyEncodedStringsource language name of the type (use Empty for anonymous types)
file
DIFileSource file containing the type
lineNumber
uintSource file line number for the type
sizeInBits
ulongSize, in bits, for the type
alignInBits
uintAlignment, in bits for the type
elements
IEnumerable<DIEnumerator>DIEnumerator elements for the type
underlyingType
DITypeUnderlying type for the enumerated type
Returns
- DICompositeType
DICompositeType for the enumerated type