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