2 writes to IntProp
Microsoft.AspNetCore.Components.Tests (2)
ParameterViewTest.Assignment.cs (2)
96IntProp = 456, 593var target = new HasInstanceProperties { IntProp = 123, StringProp = "Hello" };
16 references to IntProp
Microsoft.AspNetCore.Components.Tests (16)
ParameterViewTest.Assignment.cs (16)
20{ nameof(HasInstanceProperties.IntProp), 123 }, 30Assert.Equal(123, target.IntProp); 41{ nameof(HasInstanceProperties.IntProp).ToLowerInvariant(), 123 } 49Assert.Equal(123, target.IntProp); 58{ nameof(HasInheritedProperties.IntProp), 123 }, 67Assert.Equal(123, target.IntProp); 107Assert.Equal(456, target.IntProp); 253builder.Add(nameof(HasInstanceProperties.IntProp), 16, cascading: true); 261$"The property '{nameof(HasInstanceProperties.IntProp)}' on component type '{typeof(HasInstanceProperties).FullName}' " + 487builder.Add(nameof(HasInstanceProperties.IntProp), 16, cascading: true); 507{ nameof(HasInstanceProperties.IntProp), "string value" }, 517$"Unable to set property '{nameof(HasInstanceProperties.IntProp)}' on object of " + 590{ nameof(HasInstanceProperties.IntProp), null }, 599Assert.Equal(0, target.IntProp); 615{ nameof(HasInstanceProperties.IntProp), 5 }, 624Assert.Equal(5, target.IntProp);