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