Skip to content

Instantly share code, notes, and snippets.

View Storm-BE's full-sized avatar

David Catteuw Storm-BE

  • CHILI publish
  • Belgium
  • 06:48 (UTC +02:00)
View GitHub Profile
@Storm-BE
Storm-BE / ArgumentValidation.cs
Created July 7, 2017 06:16
ArgumentValidation
using System;
using JetBrains.Annotations;
namespace Helpers
{
public static class ArgumentValidation
{
public static void ThrowIfNull<T>([ValidatedNotNull] [NoEnumeration] T argument)
where T : class
{