19 references to AnalysisResult
Microsoft.CodeAnalysis.CSharp.Workspaces (19)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.Analyzer.cs (12)
16
public static
AnalysisResult
Leading(SyntaxToken token)
18
var
result = default(
AnalysisResult
);
24
public static
AnalysisResult
Trailing(SyntaxToken token)
26
var
result = default(
AnalysisResult
);
32
public static
AnalysisResult
Between(SyntaxToken token1, SyntaxToken token2)
39
var
result = default(
AnalysisResult
);
92
private static void Analyze(SyntaxTriviaList list, ref
AnalysisResult
result)
135
private static void AnalyzeLineBreak(SyntaxTrivia trivia, ref
AnalysisResult
result)
152
private static void AnalyzeWhitespacesInTrivia(SyntaxTrivia trivia, ref
AnalysisResult
result)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.cs (7)
38
var
result = Analyzer.Leading(token);
58
var
result = Analyzer.Trailing(token);
78
var
result = Analyzer.Between(token1, token2);
89
private static bool ContainsOnlyWhitespace(Analyzer.
AnalysisResult
result)
99
private TriviaData? GetWhitespaceOnlyTriviaInfo(SyntaxToken token1, SyntaxToken token2, Analyzer.
AnalysisResult
result)
138
private (bool canUseTriviaAsItIs, int lineBreaks, int indentation) GetLineBreaksAndIndentation(Analyzer.
AnalysisResult
result)
184
private static int GetSpaceOnSingleLine(Analyzer.
AnalysisResult
result)