2 references to GetOrAllocateReusableHoistedField
Microsoft.CodeAnalysis.CSharp (2)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
324proxy = new CapturedToStateMachineFieldReplacement(GetOrAllocateReusableHoistedField(TypeMap.SubstituteType(local.Type).Type, out reused, local), isReusable: true); 710hoistedField = GetOrAllocateReusableHoistedField(fieldType, reused: out _);