12 references to SemanticRootOfOriginalExpression
Microsoft.CodeAnalysis.Workspaces (12)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (12)
173
/// Node created by replacing <see cref="OriginalExpression"/> under <see cref="
SemanticRootOfOriginalExpression
"/> node.
213
_lazySemanticRootOfReplacedExpression = GetSemanticRootOfReplacedExpression(this.
SemanticRootOfOriginalExpression
, annotatedExpression);
231
_lazySpeculativeSemanticModel = CreateSpeculativeSemanticModel(this.
SemanticRootOfOriginalExpression
, nodeToSpeculate, OriginalSemanticModel);
261
Debug.Assert(this.
SemanticRootOfOriginalExpression
.DescendantNodesAndSelf().Contains(originalExpression));
285
Debug.Assert(this.
SemanticRootOfOriginalExpression
.DescendantNodesAndSelf().Contains(originalExpression));
297
Debug.Assert(this.
SemanticRootOfOriginalExpression
.DescendantNodesAndSelf().Contains(originalExpression));
307
Debug.Assert(this.
SemanticRootOfOriginalExpression
.DescendantNodesAndSelf().Contains(originalExpression));
319
Debug.Assert(this.
SemanticRootOfOriginalExpression
.DescendantNodesAndSelf().Contains(originalNode));
498
/// by performing a bottom up walk from the <see cref="OriginalExpression"/> up to <see cref="
SemanticRootOfOriginalExpression
"/>
504
if (this.
SemanticRootOfOriginalExpression
is TTypeSyntax)
514
originalRoot: this.
SemanticRootOfOriginalExpression
,
628
Debug.Assert(this.
SemanticRootOfOriginalExpression
.DescendantNodesAndSelf().Contains(originalExpression));