16 references to ReplacedExpression
Microsoft.CodeAnalysis.CSharp.Features (1)
CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (1)
184
var rewrittenExpression = analyzer.
ReplacedExpression
;
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CastSimplifier.cs (1)
1344
var rewrittenExpression = analyzer.
ReplacedExpression
;
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ExpressionSyntaxExtensions.cs\ExpressionSyntaxExtensions.cs (1)
138
var speculatedCastExpression = (CastExpressionSyntax)specAnalyzer.
ReplacedExpression
;
Simplification\CSharpSimplificationService.Expander.cs (1)
97
var speculatedExpression = speculativeAnalyzer.
ReplacedExpression
;
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
53
newParameterSyntax = (ParameterSyntax)speculationAnalyzer.
ReplacedExpression
.GetAnnotatedNodesAndTokens(annotation).First();
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
CastAnalyzer.vb (2)
265
expressionToOuterType = GetSpeculatedExpressionToOuterTypeConversion(speculationAnalyzer, speculationAnalyzer.
ReplacedExpression
, outerSpeculatedExpression, _cancellationToken, speculatedExpressionOuterType)
315
Return Not speculationAnalyzer.ReplacementChangesSemanticsOfUnchangedLambda(_castExpressionNode, speculationAnalyzer.
ReplacedExpression
)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb\ExpressionSyntaxExtensions.vb (1)
160
Dim speculatedCastExpression = specAnalyzer.
ReplacedExpression
ParameterSyntaxExtensions.vb (1)
23
newParameterSyntax = speculationAnalyzer.
ReplacedExpression
.GetAnnotatedNodes(Of ParameterSyntax)(annotation).First()
Simplification\VisualBasicSimplificationService.Expander.vb (1)
57
expression = specAnalyzer.
ReplacedExpression
Microsoft.CodeAnalysis.Workspaces (6)
AbstractSpeculationAnalyzer.cs (6)
142
SyntaxNode ISpeculationAnalyzer.ReplacedExpression =>
ReplacedExpression
;
455
/// in the original tree and simultaneously walking bottom up from <see cref="
ReplacedExpression
"/> up to <see cref="SemanticRootOfReplacedExpression"/>
463
var newType = (TTypeSyntax)this.
ReplacedExpression
;
469
currentReplacedNode: this.
ReplacedExpression
,
515
/// Checks whether the semantic symbols for the <see cref="OriginalExpression"/> and <see cref="
ReplacedExpression
"/> are non-null and compatible.
526
return SymbolsAreCompatible(this.OriginalExpression, this.
ReplacedExpression
, requireNonNullSymbols: true);