20 references to Spill
Microsoft.CodeAnalysis.CSharp (20)
Lowering\AsyncRewriter\RuntimeAsyncRewriter.cs (1)
226Debug.Assert(leftLocal.LocalSymbol.SynthesizedKind == SynthesizedLocalKind.Spill ||
Lowering\LocalRewriter\LocalRewriter_Await.cs (1)
49kind: SynthesizedLocalKind.Spill);
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
55var countTemp = CaptureExpressionInTempIfNeeded(rewrittenCount, sideEffects, locals, SynthesizedLocalKind.Spill);
Lowering\SpillSequenceSpiller.cs (10)
397if (local.LocalSymbol.SynthesizedKind == SynthesizedLocalKind.Spill || refKind != RefKind.None) 510kind: SynthesizedLocalKind.Spill, 1007var tmp = _F.SynthesizedLocal(node.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 1146var tmp = _F.SynthesizedLocal(node.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 1161var tmp = _F.SynthesizedLocal(condition.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 1261var tmp = _F.SynthesizedLocal(node.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 1317var clone = _F.SynthesizedLocal(receiver.Type, _F.Syntax, refKind: RefKind.None, kind: SynthesizedLocalKind.Spill); 1347var tmp = _F.SynthesizedLocal(node.Type, kind: SynthesizedLocalKind.Spill, syntax: _F.Syntax); 1496/// <see cref="SynthesizedLocalKind.Spill"/>. 1508LocalSymbol longLived = local.WithSynthesizedLocalKindAndSyntax(SynthesizedLocalKind.Spill, _F.Syntax);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
244return refLocal.SynthesizedKind == SynthesizedLocalKind.Spill ||
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (3)
319Debug.Assert(local.SynthesizedKind == SynthesizedLocalKind.Spill || 644Debug.Assert(leftLocal.SynthesizedKind == SynthesizedLocalKind.Spill || 672SynthesizedLocalKind.Spill => awaitSyntax.IsKind(SyntaxKind.AwaitExpression) || awaitSyntax.IsKind(SyntaxKind.SwitchExpression),
Lowering\StateMachineRewriter\RefInitializationHoister.cs (2)
74Debug.Assert(local.SynthesizedKind == SynthesizedLocalKind.Spill || 80SynthesizedLocalKind.Spill => this._originalMethod.IsAsync,
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
174Debug.Assert(synthesizedKind == SynthesizedLocalKind.Spill ||