Skip to content

Commit 8d8cf70

Browse files
serpent5scottaddie
andauthored
Fix link to DataAnnotations source (#17979)
* Fix link to DataAnnotations source * Update aspnetcore/mvc/models/validation.md Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com> Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
1 parent b7a9c3d commit 8d8cf70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aspnetcore/mvc/models/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Internally, the attributes call `String.Format` with a placeholder for the field
7373

7474
When applied to a `Name` property, the error message created by the preceding code would be "Name length must be between 6 and 8.".
7575

76-
To find out which parameters are passed to `String.Format` for a particular attribute's error message, see the [DataAnnotations source code](https://github.com/dotnet/corefx/tree/master/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations).
76+
To find out which parameters are passed to `String.Format` for a particular attribute's error message, see the [DataAnnotations source code](https://github.com/dotnet/runtime/tree/master/src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations).
7777

7878
## [Required] attribute
7979

0 commit comments

Comments
 (0)