13 references to Do
Microsoft.CodeAnalysis.CodeStyle (12)
AbstractAggregatedFormattingResult.cs (2)
106
_formattingResults.
Do
(result => result.GetChanges(cancellationToken).
Do
(change => map.Add(change.Item1, change.Item2)));
AbstractFormatEngine.cs (4)
98
var anchorContext = nodeOperations.AnchorIndentationOperations.
Do
(context.AddAnchorIndentationOperation);
338
alignmentOperations.
Do
(operation =>
345
context.GetAllRelativeIndentBlockOperations().
Do
(o =>
376
context.GetAllRelativeIndentBlockOperations().
Do
(o =>
AbstractFormattingResult.cs (1)
98
changes.
Do
(change => map.Add(change.Item1, change.Item2));
BottomUpBaseIndentationFinder.cs (1)
219
allNodes.
Do
(n => _formattingRules.AddIndentBlockOperations(list, n));
FormattingContext.cs (3)
118
suppressOperations?.
Do
(this.AddInitialSuppressOperation);
132
operations.
Do
(o =>
172
mergedList.
Do
(o =>
FormattingContext.InitialContextFinder.cs (1)
78
.
Do
(n =>
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
SyntaxTriviaExtensions.cs (1)
126
trivia.Select(t => t.ToFullString()).
Do
(s => sb.Append(s));