1 type derived from AnalyzedPattern
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
27internal sealed class Type : AnalyzedPattern
17 references to AnalyzedPattern
Microsoft.CodeAnalysis.CSharp.Features (17)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (9)
12using static AnalyzedPattern; 16public static AnalyzedPattern? Analyze(IOperation operation) 18var pattern = ParsePattern(operation); 40private static AnalyzedPattern? ParsePattern(IOperation operation) 75private static AnalyzedPattern? ParseBinaryPattern(IBinaryOperation op, bool isDisjunctive, SyntaxToken token) 77var leftPattern = ParsePattern(op.LeftOperand); 81var rightPattern = ParsePattern(op.RightOperand); 98private static AnalyzedPattern? ParseRelationalPattern(IBinaryOperation op) 113private static AnalyzedPattern? ParseConstantPattern(IBinaryOperation op)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (4)
17using static AnalyzedPattern; 82var pattern = CSharpUsePatternCombinatorsAnalyzer.Analyze(operation); 109private static bool HasIllegalPatternVariables(AnalyzedPattern pattern, bool permitDesignations = true, bool isTopLevel = false) 141private static bool IsTrivial(AnalyzedPattern pattern)
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (4)
25using static AnalyzedPattern; 83var pattern = CSharpUsePatternCombinatorsAnalyzer.Analyze(operation); 90private static PatternSyntax AsPatternSyntax(AnalyzedPattern pattern) 109private static ExpressionSyntax AsExpressionSyntax(ExpressionSyntax expr, AnalyzedPattern p)