15 references to IsInTree
Microsoft.CodeAnalysis.CSharp (15)
Compilation\CSharpSemanticModel.cs (6)
1315
Debug.Assert(
IsInTree
(node));
1370
if (!
IsInTree
(syntax))
4035
Debug.Assert(binderOpt != null ||
IsInTree
(lowestBoundNode.Syntax));
4095
Debug.Assert(binderOpt != null ||
IsInTree
(boundNode.Syntax));
4252
Debug.Assert(binderOpt != null ||
IsInTree
(boundNode.Syntax));
4404
Debug.Assert(binderOpt != null ||
IsInTree
(boundNode.Syntax));
Compilation\MemberSemanticModel.cs (4)
150
return
IsInTree
(node) ? this : null;
1219
Debug.Assert(
IsInTree
(node), "Since the node is in the tree, we can always recompute the binder later");
1242
Debug.Assert(
IsInTree
(node), "Since the node is in the tree, we can always recompute the binder later");
1254
Debug.Assert(
IsInTree
(node), "Since the node is in the tree, we can always recompute the binder later");
Compilation\SyntaxTreeSemanticModel.cs (5)
2194
if (!
IsInTree
(typeParameter))
2263
if (!
IsInTree
(firstStatement))
2294
if (!
IsInTree
(expression))
2311
if (!
IsInTree
(constructorInitializer))
2328
if (!
IsInTree
(primaryConstructorBaseType))