2 overrides of IsExpressionNode
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Semantics\SpeculationAnalyzerTests.cs (1)
504
protected override bool
IsExpressionNode
(SyntaxNode node)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
Semantics\SpeculationAnalyzerTests.vb (1)
129
Protected Overrides Function
IsExpressionNode
(node As SyntaxNode) As Boolean
2 references to IsExpressionNode
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Semantics\SpeculationAnalyzerTestsBase.cs (2)
36
var initialNode = initialTree.GetRoot().DescendantNodes().First(n =>
IsExpressionNode
(n) && n.ToString() == (expressionToAnalyze ?? initialExpression));
39
var replacementNode = replacementTree.GetRoot().DescendantNodes().First(n =>
IsExpressionNode
(n) && n.ToString() == (expressionToAnalyze ?? replacementExpression));