mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +01:00
15 lines
391 B
C#
15 lines
391 B
C#
namespace CapnpC.CSharp.Generator.Model
|
|
{
|
|
class Enumerant
|
|
{
|
|
string _literal;
|
|
public TypeDefinition TypeDefinition { get; set; }
|
|
public string Literal {
|
|
get => _literal;
|
|
set => _literal = IdentifierRenamer.ToNonKeyword(value);
|
|
}
|
|
public ushort? Ordinal { get; set; }
|
|
public int CodeOrder { get; set; }
|
|
}
|
|
}
|