41 references to TypeExpression
Microsoft.CodeAnalysis.CSharp (41)
Binder\Binder.ValueChecks.cs (2)
984
case BoundKind.
TypeExpression
:
1265
case BoundKind.
TypeExpression
:
Binder\Binder_Conversions.cs (1)
3422
return receiverOpt.Kind == BoundKind.
TypeExpression
;
Binder\Binder_Expressions.cs (4)
278
if (valueOrType.Kind == BoundKind.
TypeExpression
)
7990
case BoundKind.
TypeExpression
:
8453
else if (boundLeft.Kind == BoundKind.
TypeExpression
||
9431
case BoundKind.
TypeExpression
:
Binder\Binder_Invocation.cs (1)
2028
if ((object)expr != null && expr.Kind != BoundKind.
TypeExpression
)
Binder\Binder_Operators.cs (2)
907
if (result.Kind == BoundKind.
TypeExpression
4038
case BoundKind.
TypeExpression
:
Binder\Binder_Patterns.cs (3)
761
wasExpression = originalExpression.Kind != BoundKind.
TypeExpression
;
768
Debug.Assert(originalExpression is { Kind: BoundKind.
TypeExpression
, Type: { } });
792
wasExpression = originalExpression.Kind switch { BoundKind.BadExpression => false, BoundKind.
TypeExpression
=> false, _ => true };
Binder\Binder_Query.cs (1)
966
else if (ultimateReceiver.Kind == BoundKind.
TypeExpression
)
Binder\Semantics\OverloadResolution\MethodGroup.cs (1)
117
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)
870
Debug.Assert(sequence.Value.Kind != BoundKind.
TypeExpression
|| !used);
871
if (sequence.Value.Kind != BoundKind.
TypeExpression
)
2163
case BoundKind.
TypeExpression
:
Compilation\CSharpSemanticModel.cs (2)
2311
if (boundExpr != null && boundExpr.Kind != BoundKind.
TypeExpression
)
3403
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)
2294
receiverOpt.Kind != BoundKind.
TypeExpression
&&
FlowAnalysis\DefiniteAssignment.cs (2)
1077
receiver.Kind != BoundKind.
TypeExpression
&&
1094
receiverOpt.Kind != BoundKind.
TypeExpression
&&
FlowAnalysis\NullableWalker.cs (1)
2116
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)
1086
: base(BoundKind.
TypeExpression
, syntax, type, hasErrors || boundContainingTypeOpt.HasErrors() || boundDimensionsOpt.HasErrors())
9143
case BoundKind.
TypeExpression
:
Lowering\ClosureConversion\ClosureConversion.cs (1)
1383
receiver.Kind == BoundKind.
TypeExpression
&&
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (3)
289
Debug.Assert(receiverOpt.Kind != BoundKind.
TypeExpression
);
611
Debug.Assert(receiver.Kind != BoundKind.
TypeExpression
);
991
case BoundKind.
TypeExpression
:
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (1)
226
if (loweredReceiver.Kind == BoundKind.
TypeExpression
)
Lowering\SpillSequenceSpiller.cs (1)
423
case BoundKind.
TypeExpression
:
Operations\CSharpOperationFactory.cs (2)
304
case BoundKind.
TypeExpression
:
973
if (receiver?.Kind == BoundKind.
TypeExpression
)
Operations\CSharpOperationFactory_Methods.cs (1)
100
if (instance == null || instance.Kind == BoundKind.
TypeExpression
)