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