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