11 references to IsExpressionTree
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Statements.cs (1)
2062Debug.Assert(targetType.IsExpressionTree());
Binder\Semantics\Conversions\ConversionsBase.cs (2)
1592Debug.Assert(type.IsExpressionTree()); 1635else if (type.IsExpressionTree())
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
446_inExpressionTree |= node.Type.IsExpressionTree();
Lowering\ClosureConversion\ClosureConversion.cs (1)
1621_inExpressionLambda = _inExpressionLambda || node.Type.IsExpressionTree();
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
830return node.Type.IsExpressionTree() ? _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__Quote, result) : result;
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
796if (!wasInExpressionLambda && node.Type.IsExpressionTree())
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
72_inExpressionLambda = _inExpressionLambda || (node.ConversionKind == ConversionKind.AnonymousFunction && !wasInExpressionLambda && rewrittenType.IsExpressionTree());
Lowering\SpillSequenceSpiller.cs (1)
1176if (node.ConversionKind == ConversionKind.AnonymousFunction && node.Type.IsExpressionTree())
Symbols\TypeSymbolExtensions.cs (2)
440if (type.IsExpressionTree()) 612RoslynDebug.Assert(type.IsDelegateType() || type.IsExpressionTree());