13 references to ReplacedExpression
Microsoft.CodeAnalysis.CodeStyle (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);
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
CastSimplifier.cs (1)
1344var rewrittenExpression = analyzer.ReplacedExpression;
CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (1)
184var rewrittenExpression = analyzer.ReplacedExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
ExpressionSyntaxExtensions.cs (1)
138var speculatedCastExpression = (CastExpressionSyntax)specAnalyzer.ReplacedExpression;
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
CastAnalyzer.vb (2)
265expressionToOuterType = GetSpeculatedExpressionToOuterTypeConversion(speculationAnalyzer, speculationAnalyzer.ReplacedExpression, outerSpeculatedExpression, _cancellationToken, speculatedExpressionOuterType) 315Return Not speculationAnalyzer.ReplacementChangesSemanticsOfUnchangedLambda(_castExpressionNode, speculationAnalyzer.ReplacedExpression)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
ExpressionSyntaxExtensions.vb (1)
160Dim speculatedCastExpression = specAnalyzer.ReplacedExpression
ParameterSyntaxExtensions.vb (1)
23newParameterSyntax = speculationAnalyzer.ReplacedExpression.GetAnnotatedNodes(Of ParameterSyntax)(annotation).First()