private bool FilterMethod(MethodInfo method) { if (!UnitCodeGenerator.IsSupported(method)) { return(false); } var filterText = _methodList.FilterText; return(filterText == null || method.Name.Contains(filterText, StringComparison.OrdinalIgnoreCase)); }
private static bool IsMethodSupported(MethodInfo method) { return(UnitCodeGenerator.IsSupported(method)); }