8 references to ReplacedExpression
Roslyn.Diagnostics.Analyzers (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (6)
171
SyntaxNode ISpeculationAnalyzer.ReplacedExpression =>
ReplacedExpression
;
500
/// in the original tree and simultaneously walking bottom up from <see cref="
ReplacedExpression
"/> up to <see cref="SemanticRootOfReplacedExpression"/>
508
var newType = (TTypeSyntax)this.
ReplacedExpression
;
514
currentReplacedNode: this.
ReplacedExpression
,
558
/// Checks whether the semantic symbols for the <see cref="OriginalExpression"/> and <see cref="
ReplacedExpression
"/> are non-null and compatible.
568
return SymbolsAreCompatible(this.OriginalExpression, this.
ReplacedExpression
, requireNonNullSymbols: true);
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1562
var rewrittenExpression = analyzer.
ReplacedExpression
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
140
var speculatedCastExpression = (CastExpressionSyntax)specAnalyzer.
ReplacedExpression
;