aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf/Preconditions.cs
Commit message (Collapse)AuthorAgeFilesLines
* Fix one cref that Mono was unhappy withJon Skeet2015-08-051-1/+1
|
* Rename ThrowHelper to Preconditions and make it public - we'll want to use ↵Jon Skeet2015-07-301-0/+74
it from the generated code soon. Additionally, change it to return the value passed, and make it generic with a class constraint. A separate method doesn't have the class constraint, for more unusual scenarios.