Method CreateEnumerationType
CreateEnumerationType(DIScope?, LazyEncodedString, DIFile?, uint, ulong, uint, IEnumerable<DIEnumerator>, DIType?)
Creates an enumeration type
DICompositeType CreateEnumerationType(DIScope? scope, LazyEncodedString name, DIFile? file, uint lineNumber, ulong sizeInBits, uint alignInBits, IEnumerable<DIEnumerator> elements, DIType? underlyingType)
Parameters
scopeDIScopeContaining scope for the type
nameLazyEncodedStringsource language name of the type (use Empty for anonymous types)
fileDIFileSource file containing the type
lineNumberuintSource file line number for the type
sizeInBitsulongSize, in bits, for the type
alignInBitsuintAlignment, in bits for the type
elementsIEnumerable<DIEnumerator>DIEnumerator elements for the type
underlyingTypeDITypeUnderlying type for the enumerated type
Returns
- DICompositeType
DICompositeType for the enumerated type