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