1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
298this.Locals = locals;
25 references to Locals
Microsoft.CodeAnalysis.CSharp (25)
BoundTree\BoundNode.cs (6)
532AddAll(node.Locals); 534RemoveAll(node.Locals); 540AddAll(node.Locals); 542RemoveAll(node.Locals); 548AddAll(node.Locals); 550RemoveAll(node.Locals);
Compilation\InitializerSemanticModel.cs (1)
168return new BoundPropertyEqualsValue(result.Syntax, property, result.Locals, result.Value);
Generated\BoundNodes.xml.Generated.cs (12)
326if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(field, this.Field) || locals != this.Locals || value != this.Value) 356if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || locals != this.Locals || value != this.Value) 386if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(parameter, this.Parameter) || locals != this.Locals || value != this.Value) 10802return node.Update(node.Field, node.Locals, value); 10807return node.Update(node.Property, node.Locals, value); 10812return node.Update(node.Parameter, node.Locals, value); 12231ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 12239ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 12247ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 14967new TreeDumperNode("locals", node.Locals, null), 14975new TreeDumperNode("locals", node.Locals, null), 14983new 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)
1730return new FieldInitializerOperation(initializedFields, boundFieldEqualsValue.Locals.GetPublicSymbols(), value, _semanticModel, syntax, isImplicit); 1739return new PropertyInitializerOperation(initializedProperties, boundPropertyEqualsValue.Locals.GetPublicSymbols(), value, _semanticModel, syntax, isImplicit); 1748return new ParameterInitializerOperation(parameter, boundParameterEqualsValue.Locals.GetPublicSymbols(), value, _semanticModel, syntax, isImplicit);