/// <summary> /// return AnchorIndentationOperation for the node provided by the given formatting rules /// </summary> internal static IEnumerable <AnchorIndentationOperation> GetAnchorIndentationOperations(IEnumerable <AbstractFormattingRule> formattingRules, SyntaxNode node, AnalyzerConfigOptions options) { var chainedFormattingRules = new ChainedFormattingRules(formattingRules, options); var list = new List <AnchorIndentationOperation>(); chainedFormattingRules.AddAnchorIndentationOperations(list, node); return(list); }
/// <summary> /// return AnchorIndentationOperation for the node provided by the given formatting rules /// </summary> internal static IEnumerable <AnchorIndentationOperation> GetAnchorIndentationOperations(IEnumerable <IFormattingRule> formattingRules, SyntaxNode node, OptionSet optionSet) { var chainedFormattingRules = new ChainedFormattingRules(formattingRules, optionSet); var list = new List <AnchorIndentationOperation>(); chainedFormattingRules.AddAnchorIndentationOperations(list, node); return(list); }
/// <summary> /// return AnchorIndentationOperation for the node provided by the given formatting rules /// </summary> internal static IEnumerable<AnchorIndentationOperation> GetAnchorIndentationOperations(IEnumerable<IFormattingRule> formattingRules, SyntaxNode node, OptionSet optionSet) { var chainedFormattingRules = new ChainedFormattingRules(formattingRules, optionSet); var list = new List<AnchorIndentationOperation>(); chainedFormattingRules.AddAnchorIndentationOperations(list, node); return list; }