4 writes to Property1
Microsoft.DotNet.XUnitAssert.Tests (4)
9 references to Property1
Microsoft.DotNet.XUnitAssert.Tests (9)
PropertyAssertsTests.cs (9)
24 var ex = Record.Exception(() => Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => { }));
35 var ex = Record.Exception(() => Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => obj.Property2 = 42));
46 Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () => obj.Property1 = "NewValue");
54 Assert.PropertyChanged(obj, nameof(NotifiedClass.Property1), () =>
77 var ex = await Record.ExceptionAsync(() => Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), () => Task.FromResult(0)));
90 var ex = await Record.ExceptionAsync(() => Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter));
102 await Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter);
117 await Assert.PropertyChangedAsync(obj, nameof(NotifiedClass.Property1), setter);
128 set { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Property1))); }