37 references to AddPlaceholderReplacement
Microsoft.CodeAnalysis.VisualBasic (37)
Lowering\LocalRewriter\LocalRewriter.vb (2)
812
Me.
AddPlaceholderReplacement
(awaiterInstancePlaceholder,
814
Me.
AddPlaceholderReplacement
(awaitableInstancePlaceholder,
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (2)
82
AddPlaceholderReplacement
(node.LeftOnTheRightOpt, VisitExpressionNode(leftOnTheRight))
272
AddPlaceholderReplacement
(node.LeftOnTheRightOpt, VisitExpressionNode(leftOnTheRight))
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
33
AddPlaceholderReplacement
(placeholder, VisitExpression(leftOperand))
Lowering\LocalRewriter\LocalRewriter_Call.vb (3)
285
AddPlaceholderReplacement
(argument.InPlaceholder, VisitExpressionNode(originalArgument))
319
AddPlaceholderReplacement
(argument.InPlaceholder, VisitExpressionNode(firstUse))
330
AddPlaceholderReplacement
(argument.OutPlaceholder, boundTemp.MakeRValue())
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.vb (1)
122
AddPlaceholderReplacement
(node.Placeholder, placeholderReplacement)
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (2)
78
AddPlaceholderReplacement
(placeholder, placeholderSubstitute)
317
AddPlaceholderReplacement
(placeholder, placeholderSubstitute)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
221
AddPlaceholderReplacement
(convertedElements.ElementPlaceholders(i), fieldAccess)
Lowering\LocalRewriter\LocalRewriter_DelegateCreation.vb (1)
28
Me.
AddPlaceholderReplacement
(placeholderOpt, VisitExpression(node.ReceiverOpt))
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (1)
129
AddPlaceholderReplacement
(objectInitializer.PlaceholderOpt, accessExpression)
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (4)
125
AddPlaceholderReplacement
(node.EnumeratorInfo.CollectionPlaceholder,
308
AddPlaceholderReplacement
(enumeratorInfo.CurrentPlaceholder, boundCurrent)
587
AddPlaceholderReplacement
(enumeratorInfo.EnumeratorPlaceholder, boundEnumeratorLocal)
595
AddPlaceholderReplacement
(enumeratorInfo.CurrentPlaceholder, VisitExpressionNode(enumeratorInfo.Current))
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (6)
85
AddPlaceholderReplacement
(forStatement.OperatorsOpt.LeftOperandPlaceholder, rewrittenStep)
86
AddPlaceholderReplacement
(forStatement.OperatorsOpt.RightOperandPlaceholder, rewrittenStep)
605
AddPlaceholderReplacement
(operatorsOpt.LeftOperandPlaceholder, controlVariable.MakeRValue())
606
AddPlaceholderReplacement
(operatorsOpt.RightOperandPlaceholder, stepValue)
662
AddPlaceholderReplacement
(operatorsOpt.LeftOperandPlaceholder, controlVariable.MakeRValue())
663
AddPlaceholderReplacement
(operatorsOpt.RightOperandPlaceholder, limit)
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (3)
202
AddPlaceholderReplacement
(node.PlaceholderOpt, newPlaceholder)
220
AddPlaceholderReplacement
(node.PlaceholderOpt, tempLocal)
327
AddPlaceholderReplacement
(node.PlaceholderOpt, targetObjectReference)
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (1)
100
AddPlaceholderReplacement
(exprPlaceholderOpt, rewrittenSelectExpression)
Lowering\LocalRewriter\LocalRewriter_Using.vb (1)
207
AddPlaceholderReplacement
(resourcePlaceholder, boundResourceLocal.MakeRValue())
Lowering\LocalRewriter\LocalRewriter_With.vb (1)
87
AddPlaceholderReplacement
(placeholder, replaceWith)
Lowering\LocalRewriter\LocalRewriter_XmlLiterals.vb (7)
99
AddPlaceholderReplacement
(rewriterInfo.Placeholder, local)
106
AddPlaceholderReplacement
(rewriterInfo.XmlnsAttributesPlaceholder, attributes)
116
AddPlaceholderReplacement
(rewriterInfo.PrefixesPlaceholder, prefixes)
120
AddPlaceholderReplacement
(rewriterInfo.NamespacesPlaceholder, namespaces)
215
AddPlaceholderReplacement
(rewriterInfo.XmlnsAttributesPlaceholder, attributes)
224
AddPlaceholderReplacement
(rewriterInfo.PrefixesPlaceholder, prefixes)
227
AddPlaceholderReplacement
(rewriterInfo.NamespacesPlaceholder, namespaces)