19 references to EmitAddress
Microsoft.CodeAnalysis.CSharp (19)
CodeGen\EmitAddress.cs (5)
221
AddExpressionTemp(
EmitAddress
(expr.Alternative, addressKind));
229
AddExpressionTemp(
EmitAddress
(expr.Consequence, addressKind));
248
var receiverTemp =
EmitAddress
(expression.ReferenceTypeReceiver, AddressKind.ReadOnly);
345
var result =
EmitAddress
(sequence.Value, addressKind);
531
return
EmitAddress
(receiver, addressKind);
CodeGen\EmitArrayInitializer.cs (3)
553
EmitAddress
(inPlaceTarget, AddressKind.Writeable);
705
EmitAddress
(inPlaceTarget, AddressKind.Writeable);
761
EmitAddress
(inPlaceTarget, AddressKind.Writeable);
CodeGen\EmitExpression.cs (10)
676
var temp =
EmitAddress
(expression.Operand, AddressKind.Writeable);
724
var temp =
EmitAddress
(argument, AddressKind.ReadOnly);
732
var unexpectedTemp =
EmitAddress
(argument, refKind == RefKindExtensions.StrictIn ? AddressKind.ReadOnlyStrict : AddressKind.Writeable);
749
var temp =
EmitAddress
(expression.Operand, AddressKind.ReadOnlyStrict);
2674
var temp =
EmitAddress
(target, AddressKind.Writeable);
2703
var temp =
EmitAddress
(target, AddressKind.Writeable);
2874
var temp =
EmitAddress
(left, AddressKind.Writeable);
2885
var temp =
EmitAddress
(left, AddressKind.Writeable);
2897
var temp =
EmitAddress
(left, AddressKind.Writeable);
2994
LocalDefinition temp =
EmitAddress
(assignmentOperator.Right, lhs.GetRefKind() is RefKind.RefReadOnly or RefKindExtensions.StrictIn or RefKind.RefReadOnlyParameter ? AddressKind.ReadOnlyStrict : AddressKind.Writeable);
CodeGen\EmitStatement.cs (1)
873
var unexpectedTemp = this.
EmitAddress
(expressionOpt, this._method.RefKind == RefKind.RefReadOnly ? AddressKind.ReadOnlyStrict : AddressKind.Writeable);