Ejemplo n.º 1
0
            static bool ShouldFade(AnalyzerOptions options, SyntaxTree tree, string language, CancellationToken cancellationToken)
            {
                var optionSet = options.GetOptions(tree, cancellationToken);

                return(optionSet != null && optionSet.GetOption(FadingOptions.FadeOutUnusedImports, language));
            }