8 references to Update
Microsoft.CodeAnalysis.CSharp (8)
Compiler\MethodCompiler.cs (1)
1083
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)
11362
return node.
Update
(locals, localFunctions, node.HasUnsafeModifier, instrumentation, statements);
13537
return node.
Update
(locals, localFunctions, node.HasUnsafeModifier, instrumentation, statements);
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
105
return node.
Update
(newLocals, newLocalFunctions, node.HasUnsafeModifier, newInstrumentation, newStatements);
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));