11 references to IsExpressionTree
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Statements.cs (1)
2059
Debug.Assert(targetType.
IsExpressionTree
());
Binder\Semantics\Conversions\ConversionsBase.cs (2)
1592
Debug.Assert(type.
IsExpressionTree
());
1635
else 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)
830
return node.Type.
IsExpressionTree
() ? _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__Quote, result) : result;
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
796
if (!wasInExpressionLambda && node.Type.
IsExpressionTree
())
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
72
_inExpressionLambda = _inExpressionLambda || (node.ConversionKind == ConversionKind.AnonymousFunction && !wasInExpressionLambda && rewrittenType.
IsExpressionTree
());
Lowering\SpillSequenceSpiller.cs (1)
1176
if (node.ConversionKind == ConversionKind.AnonymousFunction && node.Type.
IsExpressionTree
())
Symbols\TypeSymbolExtensions.cs (2)
440
if (type.
IsExpressionTree
())
612
RoslynDebug.Assert(type.IsDelegateType() || type.
IsExpressionTree
());