1 write to Locals
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
299this.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)
327if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(field, this.Field) || locals != this.Locals || value != this.Value) 357if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(property, this.Property) || locals != this.Locals || value != this.Value) 387if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(parameter, this.Parameter) || locals != this.Locals || value != this.Value) 10839return node.Update(node.Field, node.Locals, value); 10844return node.Update(node.Property, node.Locals, value); 10849return node.Update(node.Parameter, node.Locals, value); 12268ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 12276ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 12284ImmutableArray<LocalSymbol> locals = GetUpdatedArray(node, node.Locals); 15004new TreeDumperNode("locals", node.Locals, null), 15012new TreeDumperNode("locals", node.Locals, null), 15020new 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);