2 writes to IntProp
Microsoft.AspNetCore.Components.Tests (2)
ParameterViewTest.Assignment.cs (2)
96
IntProp
= 456,
593
var 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 },
30
Assert.Equal(123, target.
IntProp
);
41
{ nameof(HasInstanceProperties.
IntProp
).ToLowerInvariant(), 123 }
49
Assert.Equal(123, target.
IntProp
);
58
{ nameof(HasInheritedProperties.
IntProp
), 123 },
67
Assert.Equal(123, target.
IntProp
);
107
Assert.Equal(456, target.
IntProp
);
253
builder.Add(nameof(HasInstanceProperties.
IntProp
), 16, cascading: true);
261
$"The property '{nameof(HasInstanceProperties.
IntProp
)}' on component type '{typeof(HasInstanceProperties).FullName}' " +
487
builder.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 },
599
Assert.Equal(0, target.
IntProp
);
615
{ nameof(HasInstanceProperties.
IntProp
), 5 },
624
Assert.Equal(5, target.
IntProp
);