Table of Contents

Method CreateEnumerationType

Namespace
Ubiquity.NET.Llvm.DebugInfo
Assembly
Ubiquity.NET.Llvm.dll

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

scope DIScope

Containing scope for the type

name LazyEncodedString

source language name of the type (use Empty for anonymous types)

file DIFile

Source file containing the type

lineNumber uint

Source file line number for the type

sizeInBits ulong

Size, in bits, for the type

alignInBits uint

Alignment, in bits for the type

elements IEnumerable<DIEnumerator>

DIEnumerator elements for the type

underlyingType DIType

Underlying type for the enumerated type

Returns

DICompositeType

DICompositeType for the enumerated type