1 write to Target
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
22
=>
Target
= target;
5 references to Target
Microsoft.CodeAnalysis.CSharp.Features (5)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (1)
19
return pattern?.
Target
.Syntax is ExpressionSyntax ? pattern : null;
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
98
var isSafe = pattern.
Target
.UnwrapImplicitConversion() is not Operations.IInvocationOperation;
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (3)
86
editor.ReplaceNode(expression, IsPatternExpression((ExpressionSyntax)pattern.
Target
.Syntax, patternSyntax));
111
var semanticModel = p.
Target
.SemanticModel;
127
var governingType = semanticModel.GetTypeInfo(p.
Target
.Syntax).Type.RemoveNullableIfPresent();