@@ -20,8 +20,8 @@ namespace CommunityToolkit.Mvvm.SourceGenerators.ComponentModel.Models;
2020/// <param name="PropertyChangingNames">The sequence of property changing properties to notify.</param>
2121/// <param name="PropertyChangedNames">The sequence of property changed properties to notify.</param>
2222/// <param name="NotifiedCommandNames">The sequence of commands to notify.</param>
23- /// <param name="AlsoBroadcastChange ">Whether or not the generated property also broadcasts changes.</param>
24- /// <param name="AlsoValidateProperty ">Whether or not the generated property also validates its value.</param>
23+ /// <param name="NotifyPropertyChangedRecipients ">Whether or not the generated property also broadcasts changes.</param>
24+ /// <param name="NotifyDataErrorInfo ">Whether or not the generated property also validates its value.</param>
2525/// <param name="ForwardedAttributes">The sequence of forwarded attributes for the generated property.</param>
2626internal sealed record PropertyInfo (
2727 string TypeNameWithNullabilityAnnotations ,
@@ -30,8 +30,8 @@ internal sealed record PropertyInfo(
3030 ImmutableArray < string > PropertyChangingNames ,
3131 ImmutableArray < string > PropertyChangedNames ,
3232 ImmutableArray < string > NotifiedCommandNames ,
33- bool AlsoBroadcastChange ,
34- bool AlsoValidateProperty ,
33+ bool NotifyPropertyChangedRecipients ,
34+ bool NotifyDataErrorInfo ,
3535 ImmutableArray < AttributeInfo > ForwardedAttributes )
3636{
3737 /// <summary>
@@ -48,8 +48,8 @@ protected override void AddToHashCode(ref HashCode hashCode, PropertyInfo obj)
4848 hashCode . AddRange ( obj . PropertyChangingNames ) ;
4949 hashCode . AddRange ( obj . PropertyChangedNames ) ;
5050 hashCode . AddRange ( obj . NotifiedCommandNames ) ;
51- hashCode . Add ( obj . AlsoBroadcastChange ) ;
52- hashCode . Add ( obj . AlsoValidateProperty ) ;
51+ hashCode . Add ( obj . NotifyPropertyChangedRecipients ) ;
52+ hashCode . Add ( obj . NotifyDataErrorInfo ) ;
5353 hashCode . AddRange ( obj . ForwardedAttributes , AttributeInfo . Comparer . Default ) ;
5454 }
5555
@@ -63,8 +63,8 @@ protected override bool AreEqual(PropertyInfo x, PropertyInfo y)
6363 x . PropertyChangingNames . SequenceEqual ( y . PropertyChangingNames ) &&
6464 x . PropertyChangedNames . SequenceEqual ( y . PropertyChangedNames ) &&
6565 x . NotifiedCommandNames . SequenceEqual ( y . NotifiedCommandNames ) &&
66- x . AlsoBroadcastChange == y . AlsoBroadcastChange &&
67- x . AlsoValidateProperty == y . AlsoValidateProperty &&
66+ x . NotifyPropertyChangedRecipients == y . NotifyPropertyChangedRecipients &&
67+ x . NotifyDataErrorInfo == y . NotifyDataErrorInfo &&
6868 x . ForwardedAttributes . SequenceEqual ( y . ForwardedAttributes , AttributeInfo . Comparer . Default ) ;
6969 }
7070 }
0 commit comments