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