using System.Collections.Generic; namespace CapnpC.CSharp.Generator.Model { class Method: IHasGenericParameters { public TypeDefinition DeclaringInterface { get; set; } public int Id { get; set; } public string Name { get; set; } public List Params { get; } = new List(); public List Results { get; } = new List(); public Type ParamsStruct { get; set; } public Type ResultStruct { get; set; } public List GenericParameters { get; } = new List(); } }