38 references to Instrument
Microsoft.CodeAnalysis.CSharp (38)
Lowering\LocalRewriter\LocalRewriter.cs (1)
676
if (
Instrument
&& !original.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Block.cs (3)
17
if (
Instrument
)
28
if (
Instrument
)
104
return (node.WasCompilerGenerated || !this.
Instrument
)
Lowering\LocalRewriter\LocalRewriter_BreakStatement.cs (1)
16
if (this.
Instrument
&& !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
169
if (
Instrument
)
Lowering\LocalRewriter\LocalRewriter_ContinueStatement.cs (1)
16
if (this.
Instrument
&& !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_DoStatement.cs (2)
28
if (!node.WasCompilerGenerated && this.
Instrument
)
35
if (!node.WasCompilerGenerated && this.
Instrument
)
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.cs (1)
32
if (!suppressInstrumentation && this.
Instrument
&& !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (3)
1052
if (this.
Instrument
)
1060
if (this.
Instrument
)
1076
if (this.
Instrument
)
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (5)
28
if (rewrittenCondition != null && this.
Instrument
)
107
if (this.
Instrument
)
145
if (this.
Instrument
)
226
if (
Instrument
)
240
if (this.
Instrument
)
Lowering\LocalRewriter\LocalRewriter_FunctionPointerInvocation.cs (1)
59
if (
Instrument
)
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (1)
25
if (this.
Instrument
&& !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (2)
27
if (this.
Instrument
&& !node.WasCompilerGenerated)
35
if (this.
Instrument
&& !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_LabeledStatement.cs (1)
26
if (this.
Instrument
)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
76
if (this.
Instrument
&& originalOpt?.WasCompilerGenerated == false && !localSymbol.IsConst &&
Lowering\LocalRewriter\LocalRewriter_LockStatement.cs (1)
189
return this.
Instrument
?
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
111
if (
Instrument
)
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (2)
67
generateInstrumentation: localRewriter.
Instrument
&& !node.WasCompilerGenerated)
77
if (!node.WasCompilerGenerated && _localRewriter.
Instrument
)
Lowering\LocalRewriter\LocalRewriter_ReturnStatement.cs (1)
25
if (this.
Instrument
&&
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
31
generateInstrumentation: !node.WasCompilerGenerated && localRewriter.
Instrument
)
Lowering\LocalRewriter\LocalRewriter_ThrowStatement.cs (1)
12
if (this.
Instrument
&& !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
92
if (
Instrument
)
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
184
if (this.
Instrument
)
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (3)
26
if (!node.WasCompilerGenerated && this.
Instrument
)
70
if (this.
Instrument
&& !loop.WasCompilerGenerated)
135
if (this.
Instrument
&& !loop.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Yield.cs (2)
20
if (this.
Instrument
&&
32
if (this.
Instrument
&& !node.WasCompilerGenerated)