Merge pull request #3199 from lambdageek/dev/proxy-setter
[mono.git] / mcs / class / Facades / System.Reflection.TypeExtensions / Requires.cs
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4
5 namespace System.Reflection
6 {
7     internal static class Requires
8     {
9         internal static void NotNull(object obj, string name)
10         {
11             if (obj == null)
12             {
13                 throw new ArgumentNullException(name);
14             }
15         }
16     }
17 }