Catel.Fody.Weaving.Argument.IsNotNullOrEmptyArrayArgumentMethodCallWeaver.SelectMethod C# (CSharp) Method

SelectMethod() protected method

protected SelectMethod ( Mono.Cecil.TypeDefinition argumentTypeDefinition, TypeReference typeToCheck, Mono.Cecil.MethodDefinition &selectedMethod ) : void
argumentTypeDefinition Mono.Cecil.TypeDefinition
typeToCheck Mono.Cecil.TypeReference
selectedMethod Mono.Cecil.MethodDefinition
return void
        protected override void SelectMethod(TypeDefinition argumentTypeDefinition, TypeReference typeToCheck, out MethodDefinition selectedMethod)
        {
            selectedMethod = argumentTypeDefinition.Methods.FirstOrDefault(definition => definition.Name == "IsNotNullOrEmptyArray" && definition.Parameters.Count == 2);
        }
    }
IsNotNullOrEmptyArrayArgumentMethodCallWeaver