14 references to Type
Microsoft.CodeAnalysis.CSharp (14)
CodeGen\EmitAddress.cs (3)
446
var elementType = arrayAccess.
Type
;
460
Debug.Assert(arrayAccess.
Type
.TypeKind == TypeKind.TypeParameter, "constrained call should only be used with type parameter types");
470
return !arrayAccess.
Type
.IsValueType;
CodeGen\EmitExpression.cs (1)
1022
var elementType = arrayAccess.
Type
;
CodeGen\Optimizer.cs (1)
2261
!arrayAccess.
Type
.IsValueType)
Generated\BoundNodes.xml.Generated.cs (4)
2103
if (expression != this.Expression || indices != this.Indices || !TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything))
11437
TypeSymbol? type = this.VisitType(node.
Type
);
13400
updatedNode = node.Update(expression, indices, node.
Type
);
15942
new TreeDumperNode("type", node.
Type
, null),
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1071
Debug.Assert(receiver is BoundArrayAccess {
Type
.IsReferenceType: false } or BoundLocal);
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
448
rewrittenAccess = arrayAccess.Update(rewrittenReceiver, indices, arrayAccess.
Type
);
Lowering\SpillSequenceSpiller.cs (2)
868
return UpdateExpression(indicesBuilder, node.Update(expression, indices, node.
Type
));
1034
return arrayAccess.Update(expression, indices, arrayAccess.
Type
);
Lowering\StateMachineRewriter\RefInitializationHoister.cs (1)
183
return array.Update(expression, indices.ToImmutableAndFree(), array.
Type
);