8 references to Update
Microsoft.CodeAnalysis.CSharp (8)
Compiler\MethodCompiler.cs (1)
1058
body = body.
Update
(body.Locals, body.LocalFunctions, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Insert(insertAt, analyzedInitializers));
FlowAnalysis\FlowAnalysisPass.cs (2)
162
return body.
Update
(body.Locals, body.LocalFunctions, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Insert(index: 0, initializations));
204
return body.
Update
(body.Locals, body.LocalFunctions, body.HasUnsafeModifier, body.Instrumentation, body.Statements.Add(ret));
Generated\BoundNodes.xml.Generated.cs (2)
11324
return node.
Update
(node.Locals, node.LocalFunctions, node.HasUnsafeModifier, instrumentation, statements);
13394
return node.
Update
(locals, localFunctions, node.HasUnsafeModifier, instrumentation, statements);
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)
159
return node.
Update
(newLocals, newLocalFunctions, node.HasUnsafeModifier, newInstrumentation, newStatements);