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