1 instantiation of LambdaCapturedVariable
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ClosureConversion\LambdaCapturedVariable.cs (1)
48return new LambdaCapturedVariable(frame, TypeWithAnnotations.Create(type), fieldName, IsThis(captured));
8 references to LambdaCapturedVariable
Microsoft.CodeAnalysis.CSharp (8)
Lowering\ClosureConversion\ClosureConversion.cs (4)
392var hoistedField = LambdaCapturedVariable.Create(synthesizedEnv, captured, ref _synthesizedFieldNameIdDispenser); 691var capturedFrame = LambdaCapturedVariable.Create(frame, _innermostFramePointer, ref _synthesizedFieldNameIdDispenser);
Lowering\ClosureConversion\LambdaCapturedVariable.cs (1)
42public static LambdaCapturedVariable Create(SynthesizedClosureEnvironment frame, Symbol captured, ref int uniqueId)
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (1)
75internal void AddHoistedField(LambdaCapturedVariable captured) => _membersBuilder.Add(captured);
Lowering\StateMachineRewriter\CapturedSymbol.cs (2)
31public readonly LambdaCapturedVariable HoistedField; 33public CapturedToFrameSymbolReplacement(LambdaCapturedVariable hoistedField, bool isReusable)