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