using Microsoft.CodeAnalysis; namespace Vellum.Generator { /// /// A field or auto-property a [Saveable] type saves. /// public class SaveableMember { /// /// The field's name, or the property's name for an auto-property. /// public readonly string Key; public readonly ITypeSymbol Type; /// /// The field, or the auto-property, as the type declares it. /// public readonly ISymbol Declared; public SaveableMember(string key, ITypeSymbol type, ISymbol declared) { Key = key; Type = type; Declared = declared; } } }