Skip to content

Instantly share code, notes, and snippets.

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