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