1 write to _instrumenterOpt
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\LocalRewriter\LocalRewriter.vb (1)
140Me._instrumenterOpt = instrumenterOpt
73 references to _instrumenterOpt
Microsoft.CodeAnalysis.VisualBasic (73)
Lowering\LocalRewriter\LocalRewriter.vb (6)
317result = _instrumenterOpt.InstrumentTopLevelExpressionInQuery(node, result) 375Return _instrumenterOpt IsNot Nothing AndAlso Not _inExpressionLambda 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?") 859rewritten = _instrumenterOpt.InstrumentStopStatement(node, rewritten) 876rewritten = _instrumenterOpt.InstrumentEndStatement(node, rewritten)
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (2)
18rewritten = _instrumenterOpt.InstrumentAddHandlerStatement(node, rewritten) 28rewritten = _instrumenterOpt.InstrumentRemoveHandlerStatement(node, rewritten)
Lowering\LocalRewriter\LocalRewriter_Block.vb (1)
60Dim prologue As BoundStatement = _instrumenterOpt.CreateBlockPrologue(original, node, synthesizedLocal)
Lowering\LocalRewriter\LocalRewriter_Continue.vb (1)
22boundGoto = _instrumenterOpt.InstrumentContinueStatement(node, boundGoto)
Lowering\LocalRewriter\LocalRewriter_DoLoop.vb (5)
87rewrittenBody = Concat(rewrittenBody, _instrumenterOpt.InstrumentDoLoopEpilogue(node, Nothing)) 113rewrittenBottomCondition = _instrumenterOpt.InstrumentDoLoopStatementCondition(node, rewrittenBottomCondition, _currentMethodOrLambda) 129_instrumenterOpt.InstrumentDoLoopStatementEntryOrConditionalGotoStart(node, Nothing), 177loopResumeLabel = _instrumenterOpt.InstrumentDoLoopEpilogue(node, loopResumeLabel) 197_instrumenterOpt.InstrumentDoLoopStatementEntryOrConditionalGotoStart(node, Nothing),
Lowering\LocalRewriter\LocalRewriter_Exit.vb (1)
22boundGoto = _instrumenterOpt.InstrumentExitStatement(node, boundGoto)
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.vb (1)
28rewritten = _instrumenterOpt.InstrumentExpressionStatement(node, rewritten)
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (1)
143rewrittenStatement = _instrumenterOpt.InstrumentFieldOrPropertyInitializer(node, rewrittenStatement, symbolIndex, createTemporary)
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (4)
235boundCollectionAssignment = _instrumenterOpt.InstrumentForEachLoopInitialization(node, boundCollectionAssignment) 441epilogue = _instrumenterOpt.InstrumentForEachLoopEpilogue(forEachStatement, epilogue) 583boundEnumeratorAssignment = _instrumenterOpt.InstrumentForEachLoopInitialization(node, boundEnumeratorAssignment) 620bodyEpilogue = _instrumenterOpt.InstrumentForEachLoopEpilogue(node, bodyEpilogue)
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (6)
195rewrittenInitializer = _instrumenterOpt.InstrumentForLoopInitialization(forStatement, rewrittenInitializer) 211rewrittenIncrement = _instrumenterOpt.InstrumentForLoopIncrement(forStatement, rewrittenIncrement) 458rewrittenInitCondition = _instrumenterOpt.InstrumentObjectForLoopInitCondition(forStatement, rewrittenInitCondition, _currentMethodOrLambda) 473ifNotInitObjExit = _instrumenterOpt.InstrumentForLoopInitialization(forStatement, ifNotInitObjExit) 513rewrittenLoopCondition = _instrumenterOpt.InstrumentObjectForLoopCondition(forStatement, rewrittenLoopCondition, _currentMethodOrLambda) 527ifConditionGotoStart = _instrumenterOpt.InstrumentForLoopIncrement(forStatement, ifConditionGotoStart)
Lowering\LocalRewriter\LocalRewriter_Goto.vb (1)
30rewritten = _instrumenterOpt.InstrumentGotoStatement(node, rewritten)
Lowering\LocalRewriter\LocalRewriter_If.vb (10)
58newConsequence = Concat(newConsequence, _instrumenterOpt.InstrumentIfStatementConsequenceEpilogue(node, resumeTarget)) 79_instrumenterOpt.InstrumentIfStatementAlternativeEpilogue(node, resumeTarget)) 80newAlternative = PrependWithPrologue(newAlternative, _instrumenterOpt.CreateIfStatementAlternativePrologue(node)) 85newAlternative = PrependWithPrologue(newAlternative, _instrumenterOpt.CreateIfStatementAlternativePrologue(node)) 97newCondition = _instrumenterOpt.InstrumentIfStatementCondition(node, newCondition, _currentMethodOrLambda) 150condGoto = _instrumenterOpt.InstrumentIfStatementConditionalGoto(DirectCast(instrumentationTargetOpt, BoundIfStatement), condGoto) 152condGoto = _instrumenterOpt.InstrumentCaseBlockConditionalGoto(DirectCast(instrumentationTargetOpt, BoundCaseBlock), condGoto) 159afterIfStatement = _instrumenterOpt.InstrumentIfStatementAfterIfStatement(DirectCast(instrumentationTargetOpt, BoundIfStatement), afterIfStatement) 194condGoto = _instrumenterOpt.InstrumentIfStatementConditionalGoto(DirectCast(instrumentationTargetOpt, BoundIfStatement), condGoto) 196condGoto = _instrumenterOpt.InstrumentCaseBlockConditionalGoto(DirectCast(instrumentationTargetOpt, BoundCaseBlock), condGoto)
Lowering\LocalRewriter\LocalRewriter_Label.vb (1)
46statement = _instrumenterOpt.InstrumentLabelStatement(node, statement)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (1)
124result = _instrumenterOpt.InstrumentLocalInitialization(node, result)
Lowering\LocalRewriter\LocalRewriter_Query.vb (1)
58returnstmt = _instrumenterOpt.InstrumentQueryLambdaBody(node, returnstmt)
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (1)
105result = _instrumenterOpt.InstrumentRaiseEventStatement(node, result)
Lowering\LocalRewriter\LocalRewriter_Return.vb (1)
28rewritten = _instrumenterOpt.InstrumentReturnStatement(node, rewritten)
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (4)
76Dim prologue As BoundStatement = _instrumenterOpt.CreateSelectStatementPrologue(node) 144epilogue = _instrumenterOpt.InstrumentSelectStatementEpilogue(node, epilogue) 293rewrittenStatement = _instrumenterOpt.InstrumentCaseElseBlock(curCaseBlock, rewrittenBody) 300rewrittenCaseCondition = _instrumenterOpt.InstrumentSelectStatementCaseCondition(selectStatement, rewrittenCaseCondition, _currentMethodOrLambda, lazyConditionalBranchLocal)
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (4)
60Dim prologue = _instrumenterOpt.CreateSyncLockStatementPrologue(node) 82tempLockObjectAssignment = _instrumenterOpt.InstrumentSyncLockObjectCapture(node, tempLockObjectAssignment) 142finallyBody = DirectCast(Concat(finallyBody, _instrumenterOpt.CreateSyncLockExitDueToExceptionEpilogue(node)), BoundBlock) 151Dim epilogue = _instrumenterOpt.CreateSyncLockExitNormallyEpilogue(node)
Lowering\LocalRewriter\LocalRewriter_Throw.vb (1)
43rewritten = _instrumenterOpt.InstrumentThrowStatement(node, rewritten)
Lowering\LocalRewriter\LocalRewriter_Try.vb (5)
28rewritten = _instrumenterOpt.InstrumentTryStatement(node, rewritten) 120newFinally = PrependWithPrologue(newFinally, _instrumenterOpt.CreateFinallyBlockPrologue(tryStatement)) 135newTry = PrependWithPrologue(newTry, _instrumenterOpt.CreateTryBlockPrologue(tryStatement)) 157newFilter = _instrumenterOpt.InstrumentCatchBlockFilter(node, newFilter, _currentMethodOrLambda) 159newCatchBody = PrependWithPrologue(newCatchBody, _instrumenterOpt.CreateCatchBlockPrologue(node))
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (2)
377rewritten = _instrumenterOpt.InstrumentOnErrorStatement(node, rewritten) 443rewritten = _instrumenterOpt.InstrumentResumeStatement(node, rewritten)
Lowering\LocalRewriter\LocalRewriter_Using.vb (3)
163prologue = _instrumenterOpt.CreateUsingStatementPrologue(node) 225boundResourceInitializationAssignment = _instrumenterOpt.InstrumentUsingStatementResourceCapture(node, resourceIndex, boundResourceInitializationAssignment) 239disposePrologue = _instrumenterOpt.CreateUsingStatementDisposePrologue(node)
Lowering\LocalRewriter\LocalRewriter_While.vb (8)
65afterBodyResumeTargetOpt = _instrumenterOpt.InstrumentWhileEpilogue(DirectCast(statement, BoundWhileStatement), afterBodyResumeTargetOpt) 67afterBodyResumeTargetOpt = _instrumenterOpt.InstrumentDoLoopEpilogue(DirectCast(statement, BoundDoLoopStatement), afterBodyResumeTargetOpt) 81rewrittenCondition = _instrumenterOpt.InstrumentWhileStatementCondition(DirectCast(statement, BoundWhileStatement), rewrittenCondition, _currentMethodOrLambda) 83rewrittenCondition = _instrumenterOpt.InstrumentDoLoopStatementCondition(DirectCast(statement, BoundDoLoopStatement), rewrittenCondition, _currentMethodOrLambda) 85rewrittenCondition = _instrumenterOpt.InstrumentForEachStatementCondition(DirectCast(statement, BoundForEachStatement), rewrittenCondition, _currentMethodOrLambda) 104ifConditionGotoStart = _instrumenterOpt.InstrumentWhileStatementConditionalGotoStart(DirectCast(statement, BoundWhileStatement), ifConditionGotoStart) 106ifConditionGotoStart = _instrumenterOpt.InstrumentDoLoopStatementEntryOrConditionalGotoStart(DirectCast(statement, BoundDoLoopStatement), ifConditionGotoStart) 108ifConditionGotoStart = _instrumenterOpt.InstrumentForEachStatementConditionalGotoStart(DirectCast(statement, BoundForEachStatement), ifConditionGotoStart)
Lowering\LocalRewriter\LocalRewriter_With.vb (2)
71Dim prologue = _instrumenterOpt.CreateWithStatementPrologue(node) 94Dim epilogue = _instrumenterOpt.CreateWithStatementEpilogue(node)