Confuser.Core/DnlibUtils.cs
/// <summary>
///     Determines whether the specified type is a delegate.
/// </summary>
/// <param name="type">The type.</param>
/// <returns><c>true</c> if the specified type is a delegate; otherwise, <c>false</c>.</returns>
// Token: 0x0600014E RID: 334 RVA: 0x0000B844 File Offset: 0x00009A44
Determines whether the specified type is a delegate.
Determines whether the specified type is a delegate .
public static bool IsDelegate(this TypeDef type)
		{
			if (type.BaseType == null)
			{
				return false;
			}
			string fullName = type.BaseType.FullName;
			return fullName == "System.Delegate" || fullName == "System.MulticastDelegate";
		}
public static bool IsDelegate ( this TypeDef type ) { if ( type . BaseType == null ) { return false ; } string fullName = type . BaseType . FullName ; return fullName == " " || fullName == " " ; }
Determines whether the specified type is a delegate.
Determines whether the specified type is a delegate .
None
TypeDef
this
type
None