15 references to IsInTree
Microsoft.CodeAnalysis.CSharp (15)
Compilation\CSharpSemanticModel.cs (6)
1315Debug.Assert(IsInTree(node)); 1370if (!IsInTree(syntax)) 4043Debug.Assert(binderOpt != null || IsInTree(lowestBoundNode.Syntax)); 4103Debug.Assert(binderOpt != null || IsInTree(boundNode.Syntax)); 4260Debug.Assert(binderOpt != null || IsInTree(boundNode.Syntax)); 4412Debug.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)
2194if (!IsInTree(typeParameter)) 2263if (!IsInTree(firstStatement)) 2294if (!IsInTree(expression)) 2311if (!IsInTree(constructorInitializer)) 2328if (!IsInTree(primaryConstructorBaseType))