ReflectionUtilities.

IsObsolete(ICustomAttributeProvider, bool) Method

Summary

Checks if `target` has an [System.ObsoleteAttribute].
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
ReflectionUtilities

Syntax

public static bool IsObsolete(this ICustomAttributeProvider target, bool inherited = false)

Parameters

Name Type Description
target ICustomAttributeProvider
inherited bool

Return Value

Type Description
bool