40 references to TypeExpression
Microsoft.CodeAnalysis.CSharp (40)
Binder\Binder.ValueChecks.cs (2)
716
case BoundKind.
TypeExpression
:
996
case BoundKind.
TypeExpression
:
Binder\Binder_Expressions.cs (4)
254
if (valueOrType.Kind == BoundKind.
TypeExpression
)
7700
case BoundKind.
TypeExpression
:
8061
else if (boundLeft.Kind == BoundKind.
TypeExpression
||
8789
case BoundKind.
TypeExpression
:
Binder\Binder_Invocation.cs (1)
1901
if ((object)expr != null && expr.Kind != BoundKind.
TypeExpression
)
Binder\Binder_Operators.cs (2)
474
if (result.Kind == BoundKind.
TypeExpression
2447
case BoundKind.
TypeExpression
:
Binder\Binder_Patterns.cs (3)
508
wasExpression = expression.Kind != BoundKind.
TypeExpression
;
515
Debug.Assert(expression is { Kind: BoundKind.
TypeExpression
, Type: { } });
537
wasExpression = expression.Kind switch { BoundKind.BadExpression => false, BoundKind.
TypeExpression
=> false, _ => true };
Binder\Binder_Query.cs (1)
977
else if (ultimateReceiver.Kind == BoundKind.
TypeExpression
)
Binder\Semantics\OverloadResolution\MethodGroup.cs (1)
112
if (this.Receiver.Kind == BoundKind.
TypeExpression
)
BoundTree\BoundMethodGroup.cs (1)
61
if (this.ReceiverOpt == null || this.ReceiverOpt.Kind == BoundKind.
TypeExpression
)
BoundTree\BoundTreeVisitors.cs (1)
33
case BoundKind.
TypeExpression
:
CodeGen\EmitExpression.cs (3)
859
Debug.Assert(sequence.Value.Kind != BoundKind.
TypeExpression
|| !used);
860
if (sequence.Value.Kind != BoundKind.
TypeExpression
)
2132
case BoundKind.
TypeExpression
:
Compilation\CSharpSemanticModel.cs (2)
2300
if (boundExpr != null && boundExpr.Kind != BoundKind.
TypeExpression
)
3391
case BoundKind.
TypeExpression
:
Compilation\MemberSemanticModel.NodeMapBuilder.cs (2)
93
if (existing[i].Kind == BoundKind.
TypeExpression
&& nodesToAdd[i].Kind == BoundKind.TypeOrValueExpression)
101
else if (existing[i].Kind == BoundKind.TypeOrValueExpression && nodesToAdd[i].Kind == BoundKind.
TypeExpression
)
FlowAnalysis\AbstractFlowPass.cs (1)
2238
receiverOpt.Kind != BoundKind.
TypeExpression
&&
FlowAnalysis\DefiniteAssignment.cs (2)
1124
receiver.Kind != BoundKind.
TypeExpression
&&
1141
receiverOpt.Kind != BoundKind.
TypeExpression
&&
FlowAnalysis\NullableWalker.cs (1)
1993
receiver.Kind != BoundKind.
TypeExpression
&&
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
106
if (node.Kind == BoundKind.
TypeExpression
|| node.WasCompilerGenerated)
FlowAnalysis\RegionAnalysisContext.cs (1)
52
case BoundKind.
TypeExpression
:
Generated\BoundNodes.xml.Generated.cs (2)
1070
: base(BoundKind.
TypeExpression
, syntax, type, hasErrors || boundContainingTypeOpt.HasErrors() || boundDimensionsOpt.HasErrors())
8877
case BoundKind.
TypeExpression
:
Lowering\ClosureConversion\ClosureConversion.cs (1)
1380
receiver.Kind == BoundKind.
TypeExpression
&&
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (3)
189
Debug.Assert(receiverOpt.Kind != BoundKind.
TypeExpression
);
480
Debug.Assert(receiver.Kind != BoundKind.
TypeExpression
);
860
case BoundKind.
TypeExpression
:
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (1)
225
if (loweredReceiver.Kind == BoundKind.
TypeExpression
)
Lowering\SpillSequenceSpiller.cs (1)
423
case BoundKind.
TypeExpression
:
Operations\CSharpOperationFactory.cs (2)
305
case BoundKind.
TypeExpression
:
958
if (receiver?.Kind == BoundKind.
TypeExpression
)
Operations\CSharpOperationFactory_Methods.cs (1)
100
if (instance == null || instance.Kind == BoundKind.
TypeExpression
)