Confuser.Core/DnlibUtils.cs
/// <summary>
///     Determines whether the specified method is array accessors.
/// </summary>
/// <param name="method">The method.</param>
/// <returns><c>true</c> if the specified method is array accessors; otherwise, <c>false</c>.</returns>
// Token: 0x0600015C RID: 348 RVA: 0x0000BE08 File Offset: 0x0000A008
Determines whether the specified method is array accessors.
Determines whether the specified method is array accessors .
public static bool IsArrayAccessors(this IMethod method)
		{
			TypeSig declType = method.DeclaringType.ToTypeSig();
			if (declType is GenericInstSig)
			{
				declType = ((GenericInstSig)declType).GenericType;
			}
			return declType.IsArray && (method.Name == "Get" || method.Name == "Set" || method.Name == "Address");
		}
public static bool IsArrayAccessors ( this IMethod method ) { TypeSig declType = method . DeclaringType . ToTypeSig ( ) ; if ( declType is GenericInstSig ) { declType = ( ( GenericInstSig ) declType ) . GenericType ; } return declType . IsArray && ( method . Name == " " || method . Name == " " || method . Name == " " ) ; }
Determines whether the specified method is array accessors.
Determines whether the specified method is array accessors .
None
IMethod
this
method
None