16 references to AllocateTemp
Microsoft.CodeAnalysis.CSharp (16)
CodeGen\CodeGenerator.cs (1)
209result = AllocateTemp(returnTypeWithAnnotations.Type, _boundBody.Syntax, slotConstraints);
CodeGen\EmitAddress.cs (2)
145var temp = this.AllocateTemp(type, expression.Syntax); 371var value = this.AllocateTemp(expression.Type, expression.Syntax);
CodeGen\EmitExpression.cs (7)
487cloneTemp = AllocateTemp(receiverType, receiver.Syntax); 1887tempOpt = this.AllocateTemp(parentCallReceiverType, nested.Syntax); 2168tempOpt = AllocateTemp(receiverType, receiver.Syntax); 3200temp = AllocateTemp( 3655var temp = this.AllocateTemp(type, syntaxNode); 4156var temp = AllocateTemp(to, syntax); 4181temp = AllocateTemp(ptrInvocation.InvokedExpression.Type, ptrInvocation.Syntax);
CodeGen\EmitStackAllocInitializer.cs (1)
89var temp = AllocateTemp(readOnlySpan, syntaxNode);
CodeGen\EmitStatement.cs (5)
1192var temp = AllocateTemp(exceptionSource.Type, exceptionSource.Syntax); 1328temp = AllocateTemp(expression.Type, expression.Syntax); 1421var stringLength = AllocateTemp(int32Type, syntaxNode); 1449var charTemp = AllocateTemp(charType, syntaxNode); 1552keyHash = AllocateTemp(UInt32Type, syntaxNode);