NUnit.Framework.Extensions
Contains extension methods that do not require a special using directive.
namespace NUnit.
Framework
{
internal static class Extensions
{
public static bool IsStatic(
this Type type);
public static bool HasAttribute<[
System.
Runtime.
CompilerServices.
Nullable(
2)]
T>(
this ICustomAttributeProvider attributeProvider,
bool inherit);
public static bool HasAttribute<[
System.
Runtime.
CompilerServices.
Nullable(
2)]
T>(
this Type type,
bool inherit);
public static T[]
GetAttributes<
T>(
this ICustomAttributeProvider attributeProvider,
bool inherit)
where T :
class;
public static T[]
GetAttributes<
T>(
this Assembly assembly)
where T :
class;
public static T[]
GetAttributes<
T>(
this Type type,
bool inherit)
where T :
class;
public static IEnumerable Skip(
this IEnumerable enumerable,
long skip);
public static TDelegate CreateDelegate<[
System.
Runtime.
CompilerServices.
Nullable(
0)]
TDelegate>(
this MethodInfo methodInfo)
where TDelegate :
Delegate;
}
}