CodeQL library for C#
codeql/csharp-all 0.9.0 (changelog, source)
Search

Member predicate EnumConstant::getUnderlyingType

Gets the underlying integral type of this enum constant. For example, the underlying type of Attribute is byte in

enum Attribute : byte {
  ReadOnly = 1,
  Shared = 2
}
IntegralType getUnderlyingType()