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