Arnolyzer.Analyzers.CommonFunctions.SyntaxTreeIsInIgoredFile C# (CSharp) Method

SyntaxTreeIsInIgoredFile() private static method

private static SyntaxTreeIsInIgoredFile ( Microsoft.CodeAnalysis.SyntaxTree syntaxTree, SettingsDetails settings ) : bool
syntaxTree Microsoft.CodeAnalysis.SyntaxTree
settings Arnolyzer.Analyzers.Settings.SettingsDetails
return bool
        private static bool SyntaxTreeIsInIgoredFile(SyntaxTree syntaxTree, SettingsDetails settings) => 
            settings.IgnorePathsRegex != "" && Regex.Match(syntaxTree.FilePath, settings.IgnorePathsRegex).Success;
    }