1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4266this.Locals = locals;
28 references to Locals
Microsoft.CodeAnalysis.CSharp (28)
Binder\RefSafetyAnalysis.cs (1)
423using var _ = new LocalScope(this, node.Locals);
BoundTree\BoundNode.cs (2)
688AddAll(node.Locals); 690RemoveAll(node.Locals);
CodeGen\EmitStatement.cs (1)
1114foreach (var local in catchBlock.Locals)
CodeGen\Optimizer.cs (3)
1688DeclareLocals(node.Locals, stack: 0); 1744return node.Update(node.Locals, exceptionSourceOpt, exceptionTypeOpt, filterPrologue, boundFilter, boundBlock, node.IsSynthesizedAsyncCatchAll); 2333return node.Update(node.Locals, exceptionSource, type, filterPrologue, filter, body, node.IsSynthesizedAsyncCatchAll);
FlowAnalysis\DataFlowsOutWalker.cs (1)
161var local = ((BoundCatchBlock)node).Locals.FirstOrDefault();
FlowAnalysis\DefiniteAssignment.cs (2)
2679DeclareVariables(catchBlock.Locals); 2689foreach (var local in catchBlock.Locals)
FlowAnalysis\NullableWalker.cs (2)
12009if (node.Locals.Length > 0) 12011LocalSymbol local = node.Locals[0];
FlowAnalysis\VariablesDeclaredWalker.cs (1)
148var local = catchBlock.Locals.FirstOrDefault();
Generated\BoundNodes.xml.Generated.cs (4)
4288if (locals != this.Locals || exceptionSourceOpt != this.ExceptionSourceOpt || !TypeSymbol.Equals(exceptionTypeOpt, this.ExceptionTypeOpt, TypeCompareKind.ConsiderEverything) || exceptionFilterPrologueOpt != this.ExceptionFilterPrologueOpt || exceptionFilterOpt != this.ExceptionFilterOpt || body != this.Body || isSynthesizedAsyncCatchAll != this.IsSynthesizedAsyncCatchAll) 11439return node.Update(node.Locals, exceptionSourceOpt, exceptionTypeOpt, exceptionFilterPrologueOpt, exceptionFilterOpt, body, node.IsSynthesizedAsyncCatchAll); 13463ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 15932new TreeDumperNode("locals", node.Locals, null),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
594handlerLocals = node.Locals; 602foreach (var local in node.Locals)
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
428PushOrReuseScope(node, node.Locals);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1232RewriteLocals(node.Locals, newLocals);
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
516var targetSymbol = original.Locals.FirstOrDefault(l => l.SynthesizedKind == SynthesizedLocalKind.UserDefined);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
105node.Locals,
Lowering\MethodToClassRewriter.cs (2)
129if (!node.Locals.IsDefaultOrEmpty) 133var newLocals = RewriteLocals(node.Locals);
Lowering\SpillSequenceSpiller.cs (1)
710var locals = node.Locals;
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
383AddVariables(node.Locals);
Operations\CSharpOperationFactory.cs (1)
2013ImmutableArray<ILocalSymbol> locals = boundCatchBlock.Locals.GetPublicSymbols();