Generated\BoundNodes.xml.Generated.cs (4)
4542if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(localSymbol, this.LocalSymbol) || declarationKind != this.DeclarationKind || constantValueOpt != this.ConstantValueOpt || isNullableUnknown != this.IsNullableUnknown || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11474return node.Update(node.LocalSymbol, node.DeclarationKind, node.ConstantValueOpt, node.IsNullableUnknown, type);
13546LocalSymbol localSymbol = GetUpdatedSymbol(node, node.LocalSymbol);
15988new TreeDumperNode("localSymbol", node.LocalSymbol, null),
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (12)
107locals: ImmutableArray.Create(boundTemp.LocalSymbol),
705return _factory.Sequence(ImmutableArray.Create(temp.LocalSymbol), ImmutableArray.Create<BoundExpression>(tempAssignment), result);
1098locals: ImmutableArray.Create<LocalSymbol>(boundTempX.LocalSymbol, boundTempY.LocalSymbol),
1287locals: ImmutableArray.Create<LocalSymbol>(boundTempX.LocalSymbol, boundTempY.LocalSymbol),
1497locals.Add(tempAccess.LocalSymbol);
1734locals: ImmutableArray.Create<LocalSymbol>(boundTemp.LocalSymbol),
1795locals: ImmutableArray.Create<LocalSymbol>(boundTempX.LocalSymbol, boundTempY.LocalSymbol),
1883locals: ImmutableArray.Create<LocalSymbol>(boundTempX.LocalSymbol, boundTempY.LocalSymbol),
Lowering\SpillSequenceSpiller.cs (15)
212if (!node.LocalSymbol.SynthesizedKind.IsLongLived())
215if (_tempSubstitution.TryGetValue(node.LocalSymbol, out longLived))
217Debug.Assert(!_receiverSubstitution.ContainsKey(node.LocalSymbol));
222if (_receiverSubstitution.TryGetValue(node.LocalSymbol, out var receiver))
397if (local.LocalSymbol.SynthesizedKind == SynthesizedLocalKind.Spill || refKind != RefKind.None)
513builder.AddLocal(replacement.LocalSymbol);
538Left: BoundLocal { LocalSymbol: { SynthesizedKind: SynthesizedLocalKind.LoweringTemp, RefKind: RefKind.Ref } receiverRefLocal },
541ValueTypeReceiver: BoundLocal { LocalSymbol: { SynthesizedKind: SynthesizedLocalKind.LoweringTemp, RefKind: RefKind.Ref } } valueTypeReceiver,
550Left: BoundLocal { LocalSymbol: { SynthesizedKind: SynthesizedLocalKind.LoweringTemp, RefKind: RefKind.None } referenceTypeClone },
551Right: BoundLocal { LocalSymbol: { SynthesizedKind: SynthesizedLocalKind.LoweringTemp, RefKind: RefKind.Ref } originalReceiverReference }
554Value: BoundLocal { LocalSymbol: { SynthesizedKind: SynthesizedLocalKind.LoweringTemp, RefKind: RefKind.None } } referenceTypeReceiver
558&& (object)referenceTypeClone == referenceTypeReceiver.LocalSymbol
559&& (object)originalReceiverReference == valueTypeReceiver.LocalSymbol
560&& (object)receiverRefLocal != valueTypeReceiver.LocalSymbol
1057receiverBuilder.AddLocal(cache.LocalSymbol);