14 references to Type
Microsoft.CodeAnalysis.CSharp (14)
CodeGen\EmitAddress.cs (4)
437
if (!used && !arrayAccess.
Type
.IsTypeParameter() &&
457
var elementType = arrayAccess.
Type
;
473
Debug.Assert(arrayAccess.
Type
.TypeKind == TypeKind.TypeParameter, "constrained call should only be used with type parameter types");
483
return !arrayAccess.
Type
.IsValueType;
CodeGen\EmitExpression.cs (1)
1050
var elementType = arrayAccess.
Type
;
Generated\BoundNodes.xml.Generated.cs (4)
2104
if (expression != this.Expression || indices != this.Indices || !TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything))
11438
TypeSymbol? type = this.VisitType(node.
Type
);
13401
updatedNode = node.Update(expression, indices, node.
Type
);
15943
new TreeDumperNode("type", node.
Type
, null),
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1095
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)
184
return array.Update(expression, indices.ToImmutableAndFree(), array.
Type
);