2 instantiations of GotoInstruction
System.Linq.Expressions (2)
System\Linq\Expressions\Interpreter\ControlFlowInstructions.cs (2)
242
return s_cache[index] ??= new
GotoInstruction
(labelIndex, hasResult, hasValue, labelTargetGetsValue);
244
return new
GotoInstruction
(labelIndex, hasResult, hasValue, labelTargetGetsValue);
7 references to GotoInstruction
System.Linq.Expressions (7)
System\Linq\Expressions\Interpreter\ControlFlowInstructions.cs (6)
211
private static readonly
GotoInstruction
[] s_cache = new
GotoInstruction
[Variants * CacheSize];
237
internal static
GotoInstruction
Create(int labelIndex, bool hasResult, bool hasValue, bool labelTargetGetsValue)
319
Debug.Assert(instructions[index] is
GotoInstruction
, "should be the 'Goto' instruction that jumps out the try/catch/finally");
353
Debug.Assert(instructions[index] is
GotoInstruction
, "should be the 'Goto' instruction that jumps out the try/catch/finally");
451
Debug.Assert(instructions[index] is
GotoInstruction
, "should be the 'Goto' instruction that jumps out the try/fault");
System\Linq\Expressions\Interpreter\InstructionList.cs (1)
976
Emit(
GotoInstruction
.Create(EnsureLabelIndex(label), hasResult, hasValue, labelTargetGetsValue));