<commit_before>﻿namespace Nancy.Core.Scanning
{
    using System;
    using System.Reflection;

    public static class ScanningStrategies
    {
        public static readonly Assembly NancyAssembly = typeof(IEngine).GetTypeInfo().Assembly;

        public static ScanningStrategy All { get; } = assembly => true;

        public static ScanningStrategy OnlyNancy { get; } = assembly => IsNancy(assembly);

        public static ScanningStrategy ExcludeNancy { get; } = assembly => !IsNancy(assembly);

        private static bool IsNancy(Assembly assembly)
        {
            return assembly.Equals(NancyAssembly);
        }
    }
}<commit_msg>Kill extra method<commit_after>﻿namespace Nancy.Core.Scanning
{
    using System;
    using System.Reflection;

    public static class ScanningStrategies
    {
        private static readonly Assembly NancyAssembly = typeof(IEngine).GetTypeInfo().Assembly;

        public static ScanningStrategy All { get; } = assembly => true;

        public static ScanningStrategy OnlyNancy { get; } = assembly => assembly.Equals(NancyAssembly);

        public static ScanningStrategy ExcludeNancy { get; } = assembly => !assembly.Equals(NancyAssembly);
    }
}
{'fraction_non_alphanumeric': 0.08666666666666667, 'fraction_numerical': 0.0, 'mean_word_length': 3.289285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7382644', 'n_tokens_mistral': 310, 'n_tokens_neox': 300, 'n_words': 83}