17 references to Compare
Microsoft.AspNetCore.Identity.UI (8)
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (1)
63[Compare("NewPassword", ErrorMessage = "The new password and confirmation password do not match.")]
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (1)
53[Compare("NewPassword", ErrorMessage = "The new password and confirmation password do not match.")]
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
76[Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
57[Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (1)
63[Compare("NewPassword", ErrorMessage = "The new password and confirmation password do not match.")]
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (1)
53[Compare("NewPassword", ErrorMessage = "The new password and confirmation password do not match.")]
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
76[Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
57[Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (1)
1601[Compare("Password")]
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
CompareAttributeAdapter.cs (1)
53: base(attribute.OtherProperty)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (7)
CompareAttributeAdapterTest.cs (6)
23var attribute = new CompareAttribute("OtherProperty"); 58var attribute = new CompareAttribute("OtherProperty"); 101var attribute = new CompareAttribute("OtherProperty"); 135var attribute = new CompareAttribute("OtherProperty") 174var attribute = new CompareAttribute("OtherProperty") 213var attribute = new CompareAttribute("OtherProperty");
DataAnnotationsModelValidatorTest.cs (1)
466new CompareAttribute(pattern) { ErrorMessage = LocalizationKey },