17 references to RewritingFlags
Microsoft.CodeAnalysis.VisualBasic (17)
Lowering\AsyncRewriter\AsyncRewriter.vb (4)
283Const rewritingFlags As LocalRewriter.RewritingFlags = 284LocalRewriter.RewritingFlags.AllowSequencePoints Or 285LocalRewriter.RewritingFlags.AllowEndOfMethodReturnWithExpression Or 286LocalRewriter.RewritingFlags.AllowCatchWithErrorLineNumberReference
Lowering\LocalRewriter\LocalRewriter.vb (6)
124flags As RewritingFlags, 159flags As RewritingFlags, 216flags As RewritingFlags, 256RewritingFlags.Default, 459Debug.Assert((Me._flags And RewritingFlags.AllowSequencePoints) <> 0 AndAlso _instrumenterOpt Is Nothing, "are we trying to rewrite a node more than once?") 470Debug.Assert((Me._flags And RewritingFlags.AllowSequencePoints) <> 0 AndAlso _instrumenterOpt Is Nothing, "are we trying to rewrite a node more than once?")
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.vb (2)
35If (Me._flags And RewritingFlags.AllowOmissionOfConditionalCalls) = RewritingFlags.AllowOmissionOfConditionalCalls Then
Lowering\LocalRewriter\LocalRewriter_Flags.vb (1)
18Private ReadOnly _flags As RewritingFlags
Lowering\LocalRewriter\LocalRewriter_Return.vb (1)
92ElseIf Me._currentMethodOrLambda.IsAsync AndAlso (Me._flags And RewritingFlags.AllowEndOfMethodReturnWithExpression) = 0 Then
Lowering\LocalRewriter\LocalRewriter_Try.vb (1)
168Debug.Assert((Me._flags And RewritingFlags.AllowCatchWithErrorLineNumberReference) <> 0)
Lowering\Rewriter.vb (2)
45Dim flags = If(allowOmissionOfConditionalCalls, LocalRewriter.RewritingFlags.AllowOmissionOfConditionalCalls, LocalRewriter.RewritingFlags.Default)