15 references to IsInTree
Microsoft.CodeAnalysis.CSharp (15)
Compilation\CSharpSemanticModel.cs (6)
1328Debug.Assert(IsInTree(node)); 1383if (!IsInTree(syntax)) 4048Debug.Assert(binderOpt != null || IsInTree(lowestBoundNode.Syntax)); 4108Debug.Assert(binderOpt != null || IsInTree(boundNode.Syntax)); 4265Debug.Assert(binderOpt != null || IsInTree(boundNode.Syntax)); 4417Debug.Assert(binderOpt != null || IsInTree(boundNode.Syntax));
Compilation\MemberSemanticModel.cs (4)
150return IsInTree(node) ? this : null; 1256Debug.Assert(IsInTree(node), "Since the node is in the tree, we can always recompute the binder later"); 1279Debug.Assert(IsInTree(node), "Since the node is in the tree, we can always recompute the binder later"); 1291Debug.Assert(IsInTree(node), "Since the node is in the tree, we can always recompute the binder later");
Compilation\SyntaxTreeSemanticModel.cs (5)
2195if (!IsInTree(typeParameter)) 2264if (!IsInTree(firstStatement)) 2295if (!IsInTree(expression)) 2312if (!IsInTree(constructorInitializer)) 2329if (!IsInTree(primaryConstructorBaseType))