.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
using System; |
|
using ICSharpCode.Decompiler.IL; |
|
|
|
namespace ICSharpCode.Decompiler |
|
{ |
|
static class Argument |
|
{ |
|
public static T NotNull<T>(T value, string paramName) |
|
{ |
|
if (value == null) |
|
throw new ArgumentNullException(paramName); |
|
return value; |
|
} |
|
} |
|
} |