1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
286this.Locals = locals;
26 references to Locals
Microsoft.CodeAnalysis.CSharp (26)
Binder\RefSafetyAnalysis.cs (1)
254using var _ = new LocalScope(this, fieldEqualsValue.Locals);
BoundTree\BoundNode.cs (6)
477AddAll(node.Locals); 479RemoveAll(node.Locals); 485AddAll(node.Locals); 487RemoveAll(node.Locals); 493AddAll(node.Locals); 495RemoveAll(node.Locals);
Compilation\InitializerSemanticModel.cs (1)
168return new BoundPropertyEqualsValue(result.Syntax, property, result.Locals, result.Value);
Generated\BoundNodes.xml.Generated.cs (12)
314if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(field, this.Field) || locals != this.Locals || value != this.Value) 344if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || locals != this.Locals || value != this.Value) 374if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(parameter, this.Parameter) || locals != this.Locals || value != this.Value) 10423return node.Update(node.Field, node.Locals, value); 10428return node.Update(node.Property, node.Locals, value); 10433return node.Update(node.Parameter, node.Locals, value); 11797ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 11805ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 11813ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 14430new TreeDumperNode("locals", node.Locals, null), 14438new TreeDumperNode("locals", node.Locals, null), 14446new TreeDumperNode("locals", node.Locals, null),
Lowering\InitializerRewriter.cs (3)
108{ WasCompilerGenerated = !fieldInit.Locals.IsEmpty || fieldInit.WasCompilerGenerated }; 110if (!fieldInit.Locals.IsEmpty) 112boundStatement = new BoundBlock(syntax, fieldInit.Locals, ImmutableArray.Create(boundStatement)) { WasCompilerGenerated = fieldInit.WasCompilerGenerated };
Operations\CSharpOperationFactory.cs (3)
1652return new FieldInitializerOperation(initializedFields, boundFieldEqualsValue.Locals.GetPublicSymbols(), value, _semanticModel, syntax, isImplicit); 1661return new PropertyInitializerOperation(initializedProperties, boundPropertyEqualsValue.Locals.GetPublicSymbols(), value, _semanticModel, syntax, isImplicit); 1670return new ParameterInitializerOperation(parameter, boundParameterEqualsValue.Locals.GetPublicSymbols(), value, _semanticModel, syntax, isImplicit);