38 references to Instrument
Microsoft.CodeAnalysis.CSharp (38)
Lowering\LocalRewriter\LocalRewriter.cs (1)
676if (Instrument && !original.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Block.cs (3)
17if (Instrument) 28if (Instrument) 104return (node.WasCompilerGenerated || !this.Instrument)
Lowering\LocalRewriter\LocalRewriter_BreakStatement.cs (1)
16if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
169if (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)
1052if (this.Instrument) 1060if (this.Instrument) 1076if (this.Instrument)
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (5)
28if (rewrittenCondition != null && this.Instrument) 107if (this.Instrument) 145if (this.Instrument) 226if (Instrument) 240if (this.Instrument)
Lowering\LocalRewriter\LocalRewriter_FunctionPointerInvocation.cs (1)
59if (Instrument)
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (1)
25if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (2)
27if (this.Instrument && !node.WasCompilerGenerated) 35if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_LabeledStatement.cs (1)
26if (this.Instrument)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
76if (this.Instrument && originalOpt?.WasCompilerGenerated == false && !localSymbol.IsConst &&
Lowering\LocalRewriter\LocalRewriter_LockStatement.cs (1)
189return this.Instrument ?
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
111if (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)
184if (this.Instrument)
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (3)
26if (!node.WasCompilerGenerated && this.Instrument) 70if (this.Instrument && !loop.WasCompilerGenerated) 135if (this.Instrument && !loop.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Yield.cs (2)
20if (this.Instrument && 32if (this.Instrument && !node.WasCompilerGenerated)