14 references to Type
Microsoft.CodeAnalysis.CSharp (14)
CodeGen\EmitAddress.cs (3)
406
var elementType = arrayAccess.
Type
;
420
Debug.Assert(arrayAccess.
Type
.TypeKind == TypeKind.TypeParameter, "constrained call should only be used with type parameter types");
430
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)
2070
if (expression != this.Expression || indices != this.Indices || !TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything))
11137
TypeSymbol? type = this.VisitType(node.
Type
);
12949
updatedNode = node.Update(expression, indices, node.
Type
);
15454
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)
596
return array.Update(expression, indices.ToImmutableAndFree(), array.
Type
);