17 references to LocalRewriter
Microsoft.CodeAnalysis.VisualBasic (17)
CodeGen\OperatorKind.vb (4)
69
''' <see cref="
LocalRewriter
.VisitNullableIsTrueOperator(BoundNullableIsTrueOperator)"/>
74
''' <see cref="
LocalRewriter
.AdjustIfOptimizableForConditionalBranch"/> marks built-in binary operators
75
''' with this flag in order to inform <see cref="
LocalRewriter
.VisitBinaryOperator"/> that the operator
81
''' (getting to the <see cref="
LocalRewriter
.VisitNullableIsTrueOperator"/> method) and then we are making
Lowering\AsyncRewriter\AsyncRewriter.vb (5)
283
Const rewritingFlags As
LocalRewriter
.RewritingFlags =
284
LocalRewriter
.RewritingFlags.AllowSequencePoints Or
285
LocalRewriter
.RewritingFlags.AllowEndOfMethodReturnWithExpression Or
286
LocalRewriter
.RewritingFlags.AllowCatchWithErrorLineNumberReference
288
Return
LocalRewriter
.Rewrite(DirectCast(body, BoundBlock),
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
112
expressionTree =
LocalRewriter
.RewriteExpressionTree(expressionTree,
Lowering\Instrumentation\Instrumenter.vb (2)
14
''' It provides a set of APIs that are called by <see cref="
LocalRewriter
"/> to instrument
17
''' - rewritten bound node created by the <see cref="
LocalRewriter
"/> for the original node.
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
1425
Return
LocalRewriter
.GenerateSequenceValueSideEffects(Me._currentMethod,
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
153
Return
LocalRewriter
.AdjustIfOptimizableForConditionalBranch(binary.Right, Nothing)
Lowering\Rewriter.vb (3)
45
Dim flags = If(allowOmissionOfConditionalCalls,
LocalRewriter
.RewritingFlags.AllowOmissionOfConditionalCalls,
LocalRewriter
.RewritingFlags.Default)
57
Dim loweredBody =
LocalRewriter
.Rewrite(body,