5 instantiations of Person
Microsoft.AspNetCore.Mvc.Core.Test (5)
Controllers\ControllerBinderDelegateProviderTest.cs (5)
927
new
Person
{ Name = "Fred" },
928
new
Person
{ Name = "Ginger" }
1002
{ nameof(TestController.NonCollectionProperty), new
Person
{ Name = "Fred" } },
1058
Assert.Equal(new
Person
{ Name = "Ginger" }, controller.NonCollectionProperty); // Skipped
1371
public Person NonCollectionProperty { get; } = new
Person
{ Name = "Ginger" };
8 references to Person
Microsoft.AspNetCore.Mvc.Core.Test (8)
Controllers\ControllerBinderDelegateProviderTest.cs (8)
333
ParameterType = typeof(
Person
)
348
.Setup(p => p.GetMetadataForType(typeof(
Person
)))
925
typeof(
Person
),
994
{ nameof(TestController.NonCollectionProperty), typeof(
Person
) }, // Skipped
1371
public
Person
NonCollectionProperty { get; } = new Person { Name = "Ginger" };
1388
private class Person : IEquatable<
Person
>, IEquatable<object>
1392
public bool Equals(
Person
other)
1399
return Equals(obj as
Person
);