// namespace TestNs { partial class MyControl { #nullable enable annotations /// /// Defines the property. /// public static readonly global::Avalonia.StyledProperty FirstProperty = global::Avalonia.AvaloniaProperty.Register(nameof(First), coerce: CoerceValue); public partial int First { get => GetValue(FirstProperty); set => SetValue(FirstProperty, value); } #nullable restore annotations #nullable enable annotations /// /// Defines the property. /// public static readonly global::Avalonia.StyledProperty SecondProperty = global::Avalonia.AvaloniaProperty.Register(nameof(Second), coerce: CoerceValue); public partial int Second { get => GetValue(SecondProperty); set => SetValue(SecondProperty, value); } #nullable restore annotations } }