7 references to GenerateObjectCloneIfNeeded
Microsoft.CodeAnalysis.VisualBasic (7)
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (1)
94
tempAssignment = New BoundAssignmentOperator(syntax, boundTemp,
GenerateObjectCloneIfNeeded
(unwrappedEventAccess.ReceiverOpt, rewrittenReceiverOpt.MakeRValue), True)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (2)
330
Return If(suppressObjectClone OrElse right.HasErrors(), VisitExpression(right),
GenerateObjectCloneIfNeeded
(right, VisitExpression(right)))
337
Return
GenerateObjectCloneIfNeeded
(generatedExpression, generatedExpression)
Lowering\LocalRewriter\LocalRewriter_Call.vb (2)
189
rewritten =
GenerateObjectCloneIfNeeded
(argument, rewritten)
242
GenerateObjectCloneIfNeeded
(argument, rewrittenArgument),
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (2)
214
GenerateObjectCloneIfNeeded
(objectCreationExpression, rewrittenObjectCreationExpression),
347
GenerateObjectCloneIfNeeded
(objectCreationExpression, rewrittenObjectCreationExpression),