Skip to content

Commit 3324b52

Browse files
committed
Fix incorrect duplicated property notification call
1 parent 759c6b3 commit 3324b52

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

CommunityToolkit.Mvvm.SourceGenerators/ComponentModel/ObservablePropertyGenerator.Execute.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,6 @@ bool IsPropertyNameValidWithGeneratedMembers(string propertyName)
200200
otherFieldSymbol.HasAttributeWithFullyQualifiedName("global::CommunityToolkit.Mvvm.ComponentModel.ObservablePropertyAttribute") &&
201201
propertyName == GetGeneratedPropertyName(otherFieldSymbol))
202202
{
203-
propertyChangedNames.Add(propertyName);
204-
205203
return true;
206204
}
207205
}

0 commit comments

Comments
 (0)