Confuser.Core/DnlibUtils.cs
/// <summary>
///     Determines whether the specified property is static.
/// </summary>
/// <param name="property">The property.</param>
/// <returns><c>true</c> if the specified property is static; otherwise, <c>false</c>.</returns>
// Token: 0x06000158 RID: 344 RVA: 0x0000BB94 File Offset: 0x00009D94
Determines whether the specified property is static.
Determines whether the specified property is static .
public static bool IsStatic(this PropertyDef property)
		{
			if (property.GetMethod != null && property.GetMethod.IsStatic)
			{
				return true;
			}
			if (property.SetMethod != null && property.SetMethod.IsStatic)
			{
				return true;
			}
			return property.OtherMethods.Any((MethodDef method) => method.IsStatic);
		}
public static bool IsStatic ( this PropertyDef property ) { if ( property . GetMethod != null && property . GetMethod . IsStatic ) { return true ; } if ( property . SetMethod != null && property . SetMethod . IsStatic ) { return true ; } return property . OtherMethods . Any ( ( MethodDef method ) => method . IsStatic ) ; }
Determines whether the specified property is static.
Determines whether the specified property is static .
None
PropertyDef
this
property
None