internal static EnterFinallyInstruction Create(int labelIndex) { if (labelIndex < CacheSize) { return(s_cache[labelIndex] ?? (s_cache[labelIndex] = new EnterFinallyInstruction(labelIndex))); } return(new EnterFinallyInstruction(labelIndex)); }
internal static EnterFinallyInstruction Create(int labelIndex) { if (labelIndex >= 32) { return new EnterFinallyInstruction(labelIndex); } else { EnterFinallyInstruction cache = EnterFinallyInstruction.Cache[labelIndex]; EnterFinallyInstruction enterFinallyInstruction = cache; if (cache == null) { EnterFinallyInstruction enterFinallyInstruction1 = new EnterFinallyInstruction(labelIndex); EnterFinallyInstruction enterFinallyInstruction2 = enterFinallyInstruction1; EnterFinallyInstruction.Cache[labelIndex] = enterFinallyInstruction1; enterFinallyInstruction = enterFinallyInstruction2; } return enterFinallyInstruction; } }
internal static EnterFinallyInstruction Create(int labelIndex) { if (labelIndex >= 32) { return(new EnterFinallyInstruction(labelIndex)); } else { EnterFinallyInstruction cache = EnterFinallyInstruction.Cache[labelIndex]; EnterFinallyInstruction enterFinallyInstruction = cache; if (cache == null) { EnterFinallyInstruction enterFinallyInstruction1 = new EnterFinallyInstruction(labelIndex); EnterFinallyInstruction enterFinallyInstruction2 = enterFinallyInstruction1; EnterFinallyInstruction.Cache[labelIndex] = enterFinallyInstruction1; enterFinallyInstruction = enterFinallyInstruction2; } return(enterFinallyInstruction); } }
public void EmitEnterFinally(BranchLabel finallyStartLabel) { Emit(EnterFinallyInstruction.Create(EnsureLabelIndex(finallyStartLabel))); }
internal static EnterFinallyInstruction Create(int labelIndex) { if (labelIndex < CacheSize) { return s_cache[labelIndex] ?? (s_cache[labelIndex] = new EnterFinallyInstruction(labelIndex)); } return new EnterFinallyInstruction(labelIndex); }