1 write to Previous
Microsoft.CodeAnalysis.CSharp (1)
Lowering\Instrumentation\CompoundInstrumenter.cs (1)
26Previous = previous;
45 references to Previous
Microsoft.CodeAnalysis.CSharp (45)
Lowering\Instrumentation\CompoundInstrumenter.cs (42)
32/// Returns <see cref="CompoundInstrumenter"/> with <see cref="Previous"/> instrumenter set to <paramref name="previous"/>. 35=> ReferenceEquals(previous, Previous) ? this : WithPreviousImpl(previous); 41return Previous.InstrumentNoOpStatement(original, rewritten); 46return Previous.InstrumentYieldBreakStatement(original, rewritten); 51return Previous.InstrumentYieldReturnStatement(original, rewritten); 56return Previous.InstrumentThrowStatement(original, rewritten); 61return Previous.InstrumentContinueStatement(original, rewritten); 66return Previous.InstrumentGotoStatement(original, rewritten); 71return Previous.InstrumentExpressionStatement(original, rewritten); 76return Previous.InstrumentFieldOrPropertyInitializer(original, rewritten); 81return Previous.InstrumentBreakStatement(original, rewritten); 86Previous.PreInstrumentBlock(original, rewriter); 91Previous.InstrumentBlock(original, rewriter, ref additionalLocals, out prologue, out epilogue, out instrumentation); 96return Previous.InstrumentDoStatementCondition(original, rewrittenCondition, factory); 101return Previous.InstrumentDoStatementConditionalGotoStart(original, ifConditionGotoStart); 106return Previous.InstrumentForEachStatementCollectionVarDeclaration(original, collectionVarDecl); 111return Previous.InstrumentForEachStatement(original, rewritten); 116return Previous.InstrumentForEachStatementIterationVarDeclaration(original, iterationVarDecl); 121return Previous.InstrumentForStatementConditionalGotoStartOrBreak(original, branchBack); 126return Previous.InstrumentForEachStatementConditionalGotoStart(original, branchBack); 131return Previous.InstrumentForStatementCondition(original, rewrittenCondition, factory); 136return Previous.InstrumentIfStatementConditionalGoto(original, rewritten); 141return Previous.InstrumentIfStatementCondition(original, rewrittenCondition, factory); 146return Previous.InstrumentLabelStatement(original, rewritten); 151return Previous.InstrumentUserDefinedLocalInitialization(original, rewritten); 156return Previous.InstrumentUserDefinedLocalAssignment(original); 161return Previous.InstrumentCall(original, rewritten); 170Previous.InterceptCallAndAdjustArguments(ref method, ref receiver, ref arguments, ref argumentRefKindsOpt); 175return Previous.InstrumentObjectCreationExpression(original, rewritten); 180return Previous.InstrumentFunctionPointerInvocation(original, rewritten); 185return Previous.InstrumentLockTargetCapture(original, lockTargetCapture); 190return Previous.InstrumentReturnStatement(original, rewritten); 195return Previous.InstrumentSwitchStatement(original, rewritten); 200return Previous.InstrumentSwitchWhenClauseConditionalGotoBody(original, ifConditionGotoBody); 205return Previous.InstrumentUsingTargetCapture(original, usingTargetCapture); 210return Previous.InstrumentWhileStatementCondition(original, rewrittenCondition, factory); 215return Previous.InstrumentWhileStatementConditionalGotoStartOrBreak(original, ifConditionGotoStart); 227Previous.InstrumentCatchBlock( 239return Previous.InstrumentSwitchStatementExpression(original, rewrittenExpression, factory); 244return Previous.InstrumentSwitchExpressionArmExpression(original, rewrittenExpression, factory); 249return Previous.InstrumentSwitchBindCasePatternVariables(bindings); 254return Previous.InstrumentForEachStatementDeconstructionVariablesDeclaration(original, iterationVarDecl);
Lowering\Instrumentation\InstrumentationState.cs (2)
29CodeCoverageInstrumenter { Previous: var previous } => recurse(previous), 30CompoundInstrumenter compound => compound.WithPrevious(recurse(compound.Previous)),
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
276Previous.PreInstrumentBlock(original, rewriter);