Ejemplo n.º 1
0
        private bool FilterMethod(MethodInfo method)
        {
            if (!UnitCodeGenerator.IsSupported(method))
            {
                return(false);
            }

            var filterText = _methodList.FilterText;

            return(filterText == null || method.Name.Contains(filterText, StringComparison.OrdinalIgnoreCase));
        }
Ejemplo n.º 2
0
 private static bool IsMethodSupported(MethodInfo method)
 {
     return(UnitCodeGenerator.IsSupported(method));
 }