17 references to CanChangeValueBetweenReads
Microsoft.CodeAnalysis.CSharp (17)
CodeGen\EmitExpression.cs (1)
442
LocalRewriter.
CanChangeValueBetweenReads
(receiver, localsMayBeAssignedOrCaptured: false) ||
CodeGen\EmitStatement.cs (1)
535
LocalRewriter.
CanChangeValueBetweenReads
(receiver, localsMayBeAssignedOrCaptured: false) ||
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
1492
if (
CanChangeValueBetweenReads
(operand))
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (8)
77
if (
CanChangeValueBetweenReads
(loweredRight))
184
if (receiverOpt == null || propertyOrEvent.IsStatic || !
CanChangeValueBetweenReads
(receiverOpt))
229
if (!
CanChangeValueBetweenReads
(memberAccess.Receiver))
298
captureReceiverMode:
CanChangeValueBetweenReads
(receiverOpt) ?
470
if (!
CanChangeValueBetweenReads
(receiver))
505
if (
CanChangeValueBetweenReads
(indexerAccess.Receiver))
523
if (
CanChangeValueBetweenReads
(arguments[i]))
791
if (
CanChangeValueBetweenReads
(loweredIndices[i]))
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.cs (1)
62
else if (
CanChangeValueBetweenReads
(loweredReceiver))
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (2)
346
if (
CanChangeValueBetweenReads
(expression, localsMayBeAssignedOrCaptured: true))
424
if (
CanChangeValueBetweenReads
(loweredArg, localsMayBeAssignedOrCaptured: true, structThisCanChangeValueBetweenReads: true))
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
92
if (!eventSymbol.IsStatic &&
CanChangeValueBetweenReads
(rewrittenReceiverOpt!))
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (2)
452
if (
CanChangeValueBetweenReads
(rewrittenIndex))
639
if (
CanChangeValueBetweenReads
(arg))