14 references to Type
Microsoft.CodeAnalysis.CSharp (14)
CodeGen\EmitAddress.cs (3)
408
var elementType = arrayAccess.
Type
;
422
Debug.Assert(arrayAccess.
Type
.TypeKind == TypeKind.TypeParameter, "constrained call should only be used with type parameter types");
432
return !arrayAccess.
Type
.IsValueType;
CodeGen\EmitExpression.cs (1)
1016
var elementType = arrayAccess.
Type
;
CodeGen\Optimizer.cs (1)
2194
!arrayAccess.
Type
.IsValueType)
Generated\BoundNodes.xml.Generated.cs (4)
2069
if (expression != this.Expression || indices != this.Indices || !TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything))
11100
TypeSymbol? type = this.VisitType(node.
Type
);
12912
updatedNode = node.Update(expression, indices, node.
Type
);
15417
new TreeDumperNode("type", node.
Type
, null),
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
415
rewrittenAccess = arrayAccess.Update(rewrittenReceiver, indices, arrayAccess.
Type
);
Lowering\SpillSequenceSpiller.cs (3)
802
return UpdateExpression(indicesBuilder, node.Update(expression, indices, node.
Type
));
894
left = arrayAccess.Update(expression, indices, arrayAccess.
Type
);
941
receiver = arrayAccess.Update(expression, indices, arrayAccess.
Type
);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
579
return array.Update(expression, indices.ToImmutableAndFree(), array.
Type
);