41 references to Instrument
Microsoft.CodeAnalysis.CSharp (41)
Lowering\LocalRewriter\LocalRewriter.cs (1)
799if (Instrument && !original.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Block.cs (3)
16if (Instrument) 38if (Instrument) 129return (node.WasCompilerGenerated || !this.Instrument)
Lowering\LocalRewriter\LocalRewriter_BreakStatement.cs (1)
16if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
421if (Instrument) 428if (Instrument)
Lowering\LocalRewriter\LocalRewriter_ContinueStatement.cs (1)
16if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_DoStatement.cs (2)
28if (!node.WasCompilerGenerated && this.Instrument) 35if (!node.WasCompilerGenerated && this.Instrument)
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.cs (1)
32if (!suppressInstrumentation && this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (3)
1277if (this.Instrument && node is BoundForEachStatement original) 1285if (this.Instrument && node is BoundForEachStatement original) 1301if (this.Instrument && node is BoundForEachStatement original)
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (5)
27if (rewrittenCondition != null && this.Instrument) 106if (this.Instrument) 144if (this.Instrument) 229if (Instrument) 243if (this.Instrument)
Lowering\LocalRewriter\LocalRewriter_FunctionPointerInvocation.cs (1)
63if (Instrument)
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (1)
25if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (2)
29if (this.Instrument && !node.WasCompilerGenerated) 108if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_LabeledStatement.cs (1)
26if (this.Instrument)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
75if (this.Instrument && originalOpt?.WasCompilerGenerated == false && !localSymbol.IsConst &&
Lowering\LocalRewriter\LocalRewriter_LockStatement.cs (1)
235return this.Instrument ?
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (2)
88if (Instrument) 118if (Instrument)
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
204if (Instrument)
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (2)
67generateInstrumentation: localRewriter.Instrument && !node.WasCompilerGenerated) 77if (!node.WasCompilerGenerated && _localRewriter.Instrument)
Lowering\LocalRewriter\LocalRewriter_ReturnStatement.cs (1)
25if (this.Instrument &&
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
31generateInstrumentation: !node.WasCompilerGenerated && localRewriter.Instrument)
Lowering\LocalRewriter\LocalRewriter_ThrowStatement.cs (1)
12if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
92if (Instrument)
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
185if (this.Instrument)
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (3)
26if (!node.WasCompilerGenerated && this.Instrument) 70if (this.Instrument && !loop.WasCompilerGenerated) 140if (this.Instrument && !loop.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Yield.cs (2)
20if (this.Instrument && 32if (this.Instrument && !node.WasCompilerGenerated)