namespace CapnpC.Model { class Annotation : IDefinition { public ulong Id { get; } public TypeTag Tag { get => TypeTag.Annotation; } public IHasNestedDefinitions DeclaringElement { get; } public Type Type { get; set; } public Annotation(ulong id, IHasNestedDefinitions parent) { Id = id; DeclaringElement = parent; parent.NestedDefinitions.Add(this); } } }