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)
535var 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)
1051body = body.Update(body.Locals, body.LocalFunctions, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Insert(insertAt, analyzedInitializers));
FlowAnalysis\DefiniteAssignment.cs (1)
2080var 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) 10073this.Visit(node.Instrumentation); 11283BoundBlockInstrumentation? instrumentation = (BoundBlockInstrumentation?)this.Visit(node.Instrumentation); 13353BoundBlockInstrumentation? instrumentation = (BoundBlockInstrumentation?)this.Visit(node.Instrumentation); 15709new 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)
716if (node.Instrumentation != null) 719instrumentation = (BoundBlockInstrumentation)Visit(node.Instrumentation);