Code Snippet for Throwing an ArgumentNullException

Name: ArgumentNullException
Description: Inserts code for throwing an ArgumentNullException.
Shortcut: ane
Result:

if (parameter == null)
    throw new ArgumentNullException( "parameter" );

Download: ArgumentNullException.snippet

 

No Comments