1 write to Instrumentation
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3315
this.
Instrumentation
= instrumentation;
22 references to Instrumentation
Microsoft.CodeAnalysis.CSharp (22)
BoundTree\BoundNode.cs (1)
556
var instrumentation = node.
Instrumentation
;
CodeGen\EmitStatement.cs (3)
668
if (block.
Instrumentation
is not null)
670
EmitInstrumentedBlock(block.
Instrumentation
, block);
762
if (block.
Instrumentation
!= null)
CodeGen\Optimizer.cs (2)
617
if (node.
Instrumentation
!= null)
619
foreach (var local in node.
Instrumentation
.Locals)
Compiler\MethodCompiler.cs (1)
1058
body = body.Update(body.Locals, body.LocalFunctions, body.HasUnsafeModifier, body.
Instrumentation
, body.Statements.Insert(insertAt, analyzedInitializers));
FlowAnalysis\DefiniteAssignment.cs (1)
2125
var instrumentation = node.
Instrumentation
;
FlowAnalysis\FlowAnalysisPass.cs (3)
162
return body.Update(body.Locals, body.LocalFunctions, body.HasUnsafeModifier, body.
Instrumentation
, body.Statements.Insert(index: 0, initializations));
176
return body.Update(body.Locals, ImmutableArray<LocalFunctionSymbol>.Empty, body.HasUnsafeModifier, body.
Instrumentation
, builder.ToImmutableAndFree());
204
return body.Update(body.Locals, body.LocalFunctions, body.HasUnsafeModifier, body.
Instrumentation
, body.Statements.Add(ret));
Generated\BoundNodes.xml.Generated.cs (5)
3328
if (locals != this.Locals || localFunctions != this.LocalFunctions || hasUnsafeModifier != this.HasUnsafeModifier || instrumentation != this.
Instrumentation
|| statements != this.Statements)
10075
this.Visit(node.
Instrumentation
);
11285
BoundBlockInstrumentation? instrumentation = (BoundBlockInstrumentation?)this.Visit(node.
Instrumentation
);
13355
BoundBlockInstrumentation? instrumentation = (BoundBlockInstrumentation?)this.Visit(node.
Instrumentation
);
15711
new TreeDumperNode("instrumentation", null, new TreeDumperNode[] { Visit(node.
Instrumentation
, null) }),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1186
var newInstrumentation = node.
Instrumentation
;
Lowering\Instrumentation\DebugInfoInjector.cs (1)
126
return block.Update(block.Locals, block.LocalFunctions, block.HasUnsafeModifier, block.
Instrumentation
, ImmutableArray.Create(InstrumentFieldOrPropertyInitializer(block.Statements.Single(), syntax)));
Lowering\LocalRewriter\LocalRewriter.cs (1)
720
return block.Update(locals, block.LocalFunctions, block.HasUnsafeModifier, block.
Instrumentation
, ImmutableArray.Create(statement));
Lowering\MethodToClassRewriter.cs (1)
158
var newInstrumentation = removeInstrumentation ? null : (BoundBlockInstrumentation?)Visit(node.
Instrumentation
);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
717
if (node.
Instrumentation
!= null)
720
instrumentation = (BoundBlockInstrumentation)Visit(node.
Instrumentation
);