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