Confuser.Core/DnlibUtils.cs
/// <summary>
///     Determines whether the specified event is static.
/// </summary>
/// <param name="evt">The event.</param>
/// <returns><c>true</c> if the specified event is static; otherwise, <c>false</c>.</returns>
// Token: 0x0600015A RID: 346 RVA: 0x0000BC84 File Offset: 0x00009E84
Determines whether the specified event is static.
Determines whether the specified event is static .
public static bool IsStatic(this EventDef evt)
		{
			if (evt.AddMethod != null && evt.AddMethod.IsStatic)
			{
				return true;
			}
			if (evt.RemoveMethod != null && evt.RemoveMethod.IsStatic)
			{
				return true;
			}
			if (evt.InvokeMethod != null && evt.InvokeMethod.IsStatic)
			{
				return true;
			}
			return evt.OtherMethods.Any((MethodDef method) => method.IsStatic);
		}
public static bool IsStatic ( this EventDef evt ) { if ( evt . AddMethod != null && evt . AddMethod . IsStatic ) { return true ; } if ( evt . RemoveMethod != null && evt . RemoveMethod . IsStatic ) { return true ; } if ( evt . InvokeMethod != null && evt . InvokeMethod . IsStatic ) { return true ; } return evt . OtherMethods . Any ( ( MethodDef method ) => method . IsStatic ) ; }
Determines whether the specified event is static.
Determines whether the specified event is static .
None
EventDef
this
evt
None