42 references to TypeExpression
Microsoft.CodeAnalysis.CSharp (42)
Binder\Binder.ValueChecks.cs (2)
569
case BoundKind.
TypeExpression
:
810
case BoundKind.
TypeExpression
:
Binder\Binder_Conversions.cs (1)
1250
return receiverOpt.Kind == BoundKind.
TypeExpression
;
Binder\Binder_Expressions.cs (4)
251
if (valueOrType.Kind == BoundKind.
TypeExpression
)
6631
case BoundKind.
TypeExpression
:
6992
else if (boundLeft.Kind == BoundKind.
TypeExpression
||
7694
case BoundKind.
TypeExpression
:
Binder\Binder_Invocation.cs (1)
1579
if ((object)expr != null && expr.Kind != BoundKind.
TypeExpression
)
Binder\Binder_Operators.cs (2)
474
if (result.Kind == BoundKind.
TypeExpression
2416
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)
976
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)
845
Debug.Assert(sequence.Value.Kind != BoundKind.
TypeExpression
|| !used);
846
if (sequence.Value.Kind != BoundKind.
TypeExpression
)
1912
case BoundKind.
TypeExpression
:
Compilation\CSharpSemanticModel.cs (2)
2298
if (boundExpr != null && boundExpr.Kind != BoundKind.
TypeExpression
)
3384
case BoundKind.
TypeExpression
:
Compilation\MemberSemanticModel.NodeMapBuilder.cs (2)
90
if (existing[i].Kind == BoundKind.
TypeExpression
&& added[i].Kind == BoundKind.TypeOrValueExpression)
98
else if (existing[i].Kind == BoundKind.TypeOrValueExpression && added[i].Kind == BoundKind.
TypeExpression
)
FlowAnalysis\AbstractFlowPass.cs (1)
2065
receiverOpt.Kind != BoundKind.
TypeExpression
&&
FlowAnalysis\DefiniteAssignment.cs (2)
1080
receiver.Kind != BoundKind.
TypeExpression
&&
1097
receiverOpt.Kind != BoundKind.
TypeExpression
&&
FlowAnalysis\NullableWalker.cs (1)
1945
receiver.Kind != BoundKind.
TypeExpression
&&
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
109
if (node.Kind == BoundKind.
TypeExpression
|| node.WasCompilerGenerated)
FlowAnalysis\RegionAnalysisContext.cs (1)
52
case BoundKind.
TypeExpression
:
Generated\BoundNodes.xml.Generated.cs (2)
1057
: base(BoundKind.
TypeExpression
, syntax, type, hasErrors || boundContainingTypeOpt.HasErrors() || boundDimensionsOpt.HasErrors())
8558
case BoundKind.
TypeExpression
:
Lowering\ClosureConversion\ClosureConversion.cs (1)
1364
receiver.Kind == BoundKind.
TypeExpression
&&
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (3)
188
Debug.Assert(receiverOpt.Kind != BoundKind.
TypeExpression
);
472
Debug.Assert(receiver.Kind != BoundKind.
TypeExpression
);
844
case BoundKind.
TypeExpression
:
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (2)
225
if (loweredReceiver.Kind == BoundKind.
TypeExpression
)
566
case BoundKind.
TypeExpression
:
Lowering\SpillSequenceSpiller.cs (1)
424
case BoundKind.
TypeExpression
:
Operations\CSharpOperationFactory.cs (2)
301
case BoundKind.
TypeExpression
:
952
if (receiver?.Kind == BoundKind.
TypeExpression
)
Operations\CSharpOperationFactory_Methods.cs (1)
100
if (instance == null || instance.Kind == BoundKind.
TypeExpression
)