15 references to IsInTree
Microsoft.CodeAnalysis.CSharp (15)
Compilation\CSharpSemanticModel.cs (6)
1312Debug.Assert(IsInTree(node)); 1367if (!IsInTree(syntax)) 4011Debug.Assert(binderOpt != null || IsInTree(lowestBoundNode.Syntax)); 4071Debug.Assert(binderOpt != null || IsInTree(boundNode.Syntax)); 4225Debug.Assert(binderOpt != null || IsInTree(boundNode.Syntax)); 4370Debug.Assert(binderOpt != null || IsInTree(boundNode.Syntax));
Compilation\MemberSemanticModel.cs (4)
139return IsInTree(node) ? this : null; 1208Debug.Assert(IsInTree(node), "Since the node is in the tree, we can always recompute the binder later"); 1231Debug.Assert(IsInTree(node), "Since the node is in the tree, we can always recompute the binder later"); 1243Debug.Assert(IsInTree(node), "Since the node is in the tree, we can always recompute the binder later");
Compilation\SyntaxTreeSemanticModel.cs (5)
2133if (!IsInTree(typeParameter)) 2205if (!IsInTree(firstStatement)) 2236if (!IsInTree(expression)) 2253if (!IsInTree(constructorInitializer)) 2270if (!IsInTree(primaryConstructorBaseType))