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