Exemplo n.º 1
0
        /// <summary>
        /// return SuppressOperation for the node provided by the given formatting rules
        /// </summary>
        internal static IEnumerable <SuppressOperation> GetSuppressOperations(IEnumerable <AbstractFormattingRule> formattingRules, SyntaxNode node, AnalyzerConfigOptions options)
        {
            var chainedFormattingRules = new ChainedFormattingRules(formattingRules, options);

            var list = new List <SuppressOperation>();

            chainedFormattingRules.AddSuppressOperations(list, node);
            return(list);
        }
Exemplo n.º 2
0
        /// <summary>
        /// return SuppressOperation for the node provided by the given formatting rules
        /// </summary>
        internal static IEnumerable <SuppressOperation> GetSuppressOperations(IEnumerable <IFormattingRule> formattingRules, SyntaxNode node, OptionSet optionSet)
        {
            var chainedFormattingRules = new ChainedFormattingRules(formattingRules, optionSet);

            var list = new List <SuppressOperation>();

            chainedFormattingRules.AddSuppressOperations(list, node);
            return(list);
        }
        /// <summary>
        /// return SuppressOperation for the node provided by the given formatting rules
        /// </summary>
        internal static IEnumerable<SuppressOperation> GetSuppressOperations(IEnumerable<IFormattingRule> formattingRules, SyntaxNode node, OptionSet optionSet)
        {
            var chainedFormattingRules = new ChainedFormattingRules(formattingRules, optionSet);

            var list = new List<SuppressOperation>();
            chainedFormattingRules.AddSuppressOperations(list, node);
            return list;
        }