Method CreateEnumerationType
CreateEnumerationType(DIScope, String, DIFile, UInt32, UInt64, UInt32, IEnumerable<DIEnumerator>, DIType)
Creates an enumeration type
Declaration
public DICompositeType CreateEnumerationType(DIScope scope, string name, DIFile file, uint lineNumber, ulong sizeInBits, uint alignInBits, IEnumerable<DIEnumerator> elements, DIType underlyingType)
Parameters
public DICompositeType CreateEnumerationType(DIScope scope, string name, DIFile file, uint lineNumber, ulong sizeInBits, uint alignInBits, IEnumerable<DIEnumerator> elements, DIType underlyingType)
DIScope | scope | Containing scope for the type |
String | name | source language name of the type |
DIFile | file | Source file containing the type |
UInt32 | lineNumber | Source file line number for the type |
UInt64 | sizeInBits | Size, in bits, for the type |
UInt32 | alignInBits | Alignment, in bits for the type |
IEnumerable<DIEnumerator> | elements | DIEnumerator elements for the type |
DIType | underlyingType | Underlying type for the enumerated type |
Returns
DICompositeType | DICompositeType for the enumerated type |