Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Aug 8, 2024
1 parent 022fce0 commit a9e476b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ Enable by adding and MSBuild property `PolyGuard`
`Guard` is designed to be a an alternative to the `ArgumentException.ThrowIf*` APIs added in net7.

* [ArgumentException.ThrowIfNullOrEmpty](https://learn.microsoft.com/en-us/dotnet/api/system.argumentexception.throwifnullorempty)
* [ArgumentException.ThrowIfNullOrWhiteSpace[](https://learn.microsoft.com/en-us/dotnet/api/system.argumentexception.throwifnullorwhitespace)
* [ArgumentException.ThrowIfNullOrWhiteSpace(https://learn.microsoft.com/en-us/dotnet/api/system.argumentexception.throwifnullorwhitespace)
* [ArgumentNullException.ThrowIfNull](https://learn.microsoft.com/en-us/dotnet/api/system.argumentnullexception.throwifnull?view=net-8.0)

With the equivalent Guard APIs:
Expand Down

0 comments on commit a9e476b

Please sign in to comment.