Beispiel #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));
        }
Beispiel #2
0
 private static bool IsMethodSupported(MethodInfo method)
 {
     return(UnitCodeGenerator.IsSupported(method));
 }