Commit 68380f0f authored by Jon Skeet's avatar Jon Skeet
Browse files

Rename ThrowHelper to Preconditions and make it public - we'll want to use it...

Rename ThrowHelper to Preconditions and make it public - we'll want to use 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.
parent 7909b2ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment