Skip to content

Instantly share code, notes, and snippets.

@atsvetkov
Created June 10, 2017 12:35
Show Gist options
  • Save atsvetkov/08be6f0bdb54670d81de5a2d975248d3 to your computer and use it in GitHub Desktop.
Save atsvetkov/08be6f0bdb54670d81de5a2d975248d3 to your computer and use it in GitHub Desktop.
void Foo(SomeReferenceType input)
{
Guard.NotNull(() => input);
// do something useful
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment